mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 18:45:23 -04:00
comment out Thread_Detach code
This commit is contained in:
parent
7ee08a5c16
commit
05a7e82582
@ -253,10 +253,11 @@ void Thread_Start2(void* handle, Thread_StartFunc func) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Thread_Detach(void* handle) {
|
void Thread_Detach(void* handle) {
|
||||||
pthread_t* ptr = (pthread_t*)handle;
|
// crashes when loading singleplayer. pthread_detach isn't implemented, apparently?
|
||||||
|
/*pthread_t* ptr = (pthread_t*)handle;
|
||||||
int res = pthread_detach(*ptr);
|
int res = pthread_detach(*ptr);
|
||||||
if (res) Logger_Abort2(res, "Detaching thread");
|
if (res) Logger_Abort2(res, "Detaching thread");
|
||||||
Mem_Free(ptr);
|
Mem_Free(ptr);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void Thread_Join(void* handle) {
|
void Thread_Join(void* handle) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user