Hi All,
If my understanding is right the equivalent data type of CriticalSection of
Win32 API
in Linux(all other flavors of unix/POSIX standard) is pthread_mutex_t.
In Windows we have 4 methods for critical section like
InitializeCriticalSection
EnterCriticalSection
LeaveCriticalSection
DeleteCriticalSection
and the equivalent in Linux(POSIX) are
pthread_mutex_init
pthread_mutex_lock
pthread_mutex_unlock
but i want to know what is the equivalent of DeleteCriticalSection in Linux?
Regards
Venkat