Mutex implementation questions

Tristan Savatier tristan@mpegtv.com
Mon Oct 2 15:59:00 GMT 2000


> Scott McCaskill wrote:
> 
> 
> Yes, I'm pretty sure critical sections can't be shared between
> processes (but mutexes can).  So this may be the reason.

Yes, but does the pthread API  permit the creation of pthread mutexes
that
are shared between processes ?

If not, then what would be the advantage of using  CreateMutex
rather than InitializeCriticalSection ?

-t


More information about the Pthreads-win32 mailing list