omp_get_max_threads & omp_get_num_threads in a thread method

JongAm Park <[email protected]> Fri, 20 Jan 2012 15:23:31 -0800
Newsgroups gmane.comp.video.graphicsmagick.apis,gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
Hello,

A while ago, I posted an inquiry email to GraphicsMagick mailing list 
about crash while manipulating images.
The problem was due to calling omp_get_max_threads and omp_get_num_threads.
In other words, if I write a thread method which calls a GraphicsMagick 
function/method which calls those OpenMP calls eventually, it made a 
program crash.
After discussion, it turned out that Apple's GCC runtime doesn't like 
those ( from some version it is said to be broken. ).
Today, good news is that Apple people started to track it.
They sent me email saying that they were aware of the problem and closed 
my bug fix request because they were tacking it.

So... if there are people who use GraphicsMagick in their Mac apps, 
please rejoice!! :)

Thanks,
JongAm Park

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2