mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-09-27 09:56:08 +00:00
cpu suspend mutex does not need to be recursive ... this should not be re-entrant
This commit is contained in:
parent
fa91a2806d
commit
411e474c4b
@ -98,9 +98,6 @@ __attribute__((constructor(CTOR_PRIORITY_LATE)))
|
||||
static void _init_timing(void) {
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_init(&attr);
|
||||
#if !TESTING
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|
||||
#endif
|
||||
pthread_mutex_init(&interface_mutex, &attr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user