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

vgoklani

macrumors regular
Original poster
Jul 2, 2004
186
0
Hi,

I recently purchased a macbook Pro, and I would like to make use of the second CPU in my C/C++ programs. Could someone point me to a source for spawning threads using C/C++ on a mac? I do a lot of monte carlo simulations, and I would like to make use of the second cpu.
 
Hi

There is something called Berkeley UPC (Unified Parallel C) over on the Apple download page under development tools. I've not tried it but I'd be interested in your thoughts if you do. Other than that I guess 'man fork'!

b e n
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.