From: Gabriel B. <bou...@mp...> - 2009-09-29 18:13:14
|
Alexander Leidinger a écrit : > But it seems that maybe libdispatch > (http://libdispatch.macosforge.org/, respectively the Grand Central > Dispatch API of Mac OS X) could allow a similar benefit. Obviously > this API is available on OS X. It will be available soon on FreeBSD, > and it will probably also not take too long until it can be used on > Linux. Unfortunately I have no idea about a Windows port. If someone > has a little bit of time and interest, he could maybe have a look if > it is possible to integrate libdispatch without losing the ability to > run without it (maybe with some not too complicated macros). *IF* one of us (or any volunteer) would like to implement something similar, couldn't we just use OpenMP? Its directives are just #pragma, so we can compile with or without it. Moreover, it's supported by gcc, icl and msvc. Disclaimer: I've never used it, so perhaps there might be a reason not to use it which I'm not aware of. Regards, -- Gabriel Bouvigne www.mp3-tech.org personal page: http://gabriel.mp3-tech.org |