[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Context switching woes



Erik wrote:
> this is what the mutex and semaphore facilities exist for. You might want to
> do some reading on those two concepts. I'd do it with a mutex, and lock the
> scenegraph inside of one, that way when one has critical section access, the
> other will wait until it's freed. You can also poll mutex's so the thread

Speaking of the synchronisation, I need this effect - I need to wait in
one thread until some mutex is locked by other thread. How can I do
that? Is it possible at all?

						Jarda Benkovsky

---------------------------------------------------------------------
To unsubscribe, e-mail: linuxgames-unsubscribe@sunsite.dk
For additional commands, e-mail: linuxgames-help@sunsite.dk