[Magick-bugs] About Imagemagik++ Problem

duc.sequere.aut.de.via.decede at imagemagick.org duc.sequere.aut.de.via.decede at imagemagick.org
Mon Jun 29 08:50:16 PDT 2009


>  Here you get one (again):

> Here's a typical usage of DestroySemaphoreInfo (as of ImageMagick
> 6.4.1-3):

>    wand_semaphore=DestroySemaphoreInfo(wand_semaphore);

> Unfortunately, there is a time window during which the variable
> wand_semaphore is still non-NULL but the object pointed to no
> longer exists causing problems if another thread happens to call
> AcquireSemaphoreInfo.

This problem was patched some time ago.  The DestroySemaphoreInfo()
signature is

  void DestroySemaphoreInfo(SemaphoreInfo **semaphore_info)


More information about the Magick-bugs mailing list