1 #ifndef FILE_PARTHREADS 2 #define FILE_PARTHREADS 4 this file ist not used anymore
18 #ifdef NO_PARALLEL_THREADS 43 pthread_mutex_init (&mut, NULL);
50 pthread_mutex_t & mut;
57 pthread_mutex_lock (&mut);
65 pthread_mutex_unlock (&mut);
70 pthread_mutex_lock (&mut);
75 pthread_mutex_unlock (&mut);
86 # else // Using MSVC++ Standard / Professional 111 if (locked) sl.Unlock();
126 # endif // MSVC_EXPRESS 128 #else // Not using MSVC++ 139 pthread_mutex_init (&mut, NULL);
146 pthread_mutex_t & mut;
153 pthread_mutex_lock (&mut);
161 pthread_mutex_unlock (&mut);
166 pthread_mutex_lock (&mut);
171 pthread_mutex_unlock (&mut);
184 #endif // NO_PARALLEL_THREADS Definition: parthreads.hpp:133
Definition: parthreads.hpp:144