Re: About Imagemagik++ Problem

[email protected] Mon, 29 Jun 2009 08:50:16 -0700
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
>  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)