예제 #1
0
 internal void Free()
 {
     Memory.FreeHGlobal(MutexPointer);
     Memory.FreeHGlobal(AttributePointer);
     MutexPointer     = null;
     AttributePointer = null;
 }
예제 #2
0
 private static extern int pthread_mutex_init(
     pthread_mutex_t *mutex, pthread_mutexattr_t *attr);
예제 #3
0
 private static extern int pthread_mutexattr_destroy(
     pthread_mutexattr_t *attr);
예제 #4
0
 private static extern int pthread_mutexattr_settype(
     pthread_mutexattr_t *attr, int type);