In our previous episode, Michael Schnell said:

> > For Critical Sections, FPC has the TCriticalSection object, is there a 
> > TMutex object?
> 
> AFAI understand, "CriticalSection" is the Delphi/fpc name for 
> "POSIX-Mutex".

Critical sections are bound to the owning process under Windows, while
Windows mutexes can span processes (and thus are more expensive).

So critical section is equal to posix mutex with PTHREAD_PROCESS_PRIVATE
attribute.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to