/* member methods */
pthread::pthread ():verifyable_object (PTHREAD_MAGIC), win32_obj_id (0),
- cancelstate (0), canceltype (0), cancel_event (0),
- joiner (NULL), cleanup_stack (NULL)
+ cancelstate (0), canceltype (0), cancel_event (0),
+ joiner (NULL), cleanup_stack (NULL)
{
}
{
/* We may need to make the list code lock the list during operations
*/
- if (magic != 0)
+ if (magic != 0)
{
keys.Remove (this);
TlsFree (dwTlsIndex);
__pthread_mutex_lock (pthread_mutex_t *mutex)
{
pthread_mutex_t *themutex = mutex;
- /* This could be simplified via isGoodInitializerOrObject
+ /* This could be simplified via isGoodInitializerOrObject
and isGoodInitializer, but in a performance critical call like this....
no.
*/
{
if (pthread_mutex::isGoodInitializer (mutex))
return 0;
- if (!pthread_mutex::isGoodObject (mutex))
+ if (!pthread_mutex::isGoodObject (mutex))
return EINVAL;
/*reading a word is atomic */