- Timestamp:
- Mar 30, 2015 4:33:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/threads.c
r53726 r55011 29 29 (void) destructor; 30 30 #else 31 if (pthread_key_create(&tsd->key, destructor) != 0) {32 perror(INIT_TSD_ERROR);33 crError("crInitTSD failed!");34 }31 if (pthread_key_create(&tsd->key, destructor) != 0) 32 crDebug("crServer: failed to allocate TLS key."); 33 else 34 crDebug("crServer: TLS key %d allocated.", tsd->key); 35 35 #endif 36 36 tsd->initMagic = INIT_MAGIC; … … 53 53 #else 54 54 if (pthread_key_delete(tsd->key) != 0) 55 { 56 // perror(FREE_TSD_ERROR); 57 // crError("crFreeTSD failed!"); 58 } 55 crDebug("crServer: failed to delete TLS key %d.", tsd->key); 56 else 57 crDebug("crServer: TLS key %d deleted.", tsd->key); 59 58 #endif 60 59 tsd->initMagic = 0x0;
Note:
See TracChangeset
for help on using the changeset viewer.