Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cromulent

macrumors 604
Original poster
I'd love to use Grand Central but alas it is Mac OS X only. Does anyone know of a cross platform threading API that is higher level than POSIX threads but still maintains cross platform compatibility? I'm thinking of a C equivalent to Boost.Thread really.

Edit: Having though about it I guess I might be on a loosing wicket with this one seeing as GCD is partly implemented in the OS itself rather than being a simple library. Shame.

Still, any suggestions are always appreciated 🙂.
 
I think this is C++ again, but Intel Threading Building Blocks?

Yep, C++ unfortunately. I found a couple of open source C libraries but unfortunately they were pretty dead plus they used a GPL license.

Edit: I guess something like MPI could be used in the same manner?
 
MPI is a pretty blunt tool compared to GCD. It's really more for clusters as I understand it.

While it is predominately used for clusters and large supercomputers it certainly has uses for highly parallel programs.

But you are right, I doubt it is the best tool for the job.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.