[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Context switching woes
Mark Collins wrote:
> Did anyone see a horned guy skiing to work today, because the guy at
> Microsoft decided to find the pthreads functions I'm looking for, to help me
> get a Linux version done...
LOL!
> Out of curiosity, I did some checking. With pthreads, there is a mutex
> object (there is no special critical section object), which you access
> using:
These are a better idea than critical sections. Protect the scenegraph
with a mutex and use it properly (I'm not saying this is easy, you ARE
using threads!).
--
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June 1972
---------------------------------------------------------------------
To unsubscribe, e-mail: linuxgames-unsubscribe@sunsite.dk
For additional commands, e-mail: linuxgames-help@sunsite.dk