<<

NAME

Imager::Threads - Imager and threads

SYNOPSIS

  use Imager;
  use threads;
  Imager->preload;

  threads->create(...);

DESCRIPTION

Starting from version 0.94 Imager attempts to work safely with perl's ithreads.

Previous versions stored some state in global variables, in particular the internal error stack.

However there are some limitations:

Note that if you have another module using libtiff, giflib or t1lib it may interact with Imager's use of those libraries in a threaded environment, since there's no way to co-ordinate access to the global information libtiff, giflib and t1lib maintain.

Imager currently doesn't use threads itself, except for testing its threads support.

SEE ALSO

Imager, threads

AUTHOR

Tony Cook <tony@cpan.org>

<<