Multithreading question

Started by
1 comment, last by Russell 21 years, 5 months ago
Is there an equivalent to the Win32 thread function WaitForMultipleObjects() in one of the (mostly) portable thread libraries, such as pthreads (or other libraries I''m not aware of)? I could only seem to find the equivalent of WaitForSingleObject in pthreads. Russell
Advertisement
pthreads is not that like portable, it may even be non portable among 2 unix. If you want portability I would suggest to give a look at SDL. Anyway you will need a HIGHER level lib or API to provide that.

If brute force does not solve your problem....you''re not using enough!
If brute force does not solve your problem....you're not using enough!
Ah yes, I forgot SDL has threading support. Do you know if it''s any slower than other threading libraries? Currently what I''m doing is not time critical, so I think SDL might work just fine, but eventually I''d like to experiment with SMP searching algorithms where performance is important.

Russell

This topic is closed to new replies.

Advertisement