mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-06 05:33:29 +00:00
clean-ups from previous experiment with sched_yield(), this one caused a
slow-down too.
This commit is contained in:
parent
52138d2014
commit
198925c5ae
@ -358,9 +358,6 @@ int sem_destroy(sem_t *sem)
|
||||
|
||||
int sem_wait(sem_t *sem)
|
||||
{
|
||||
int cnt = 0;
|
||||
struct timespec tm;
|
||||
|
||||
if (sem == NULL) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user