mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 01:30:03 +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 sem_wait(sem_t *sem)
|
||||||
{
|
{
|
||||||
int cnt = 0;
|
|
||||||
struct timespec tm;
|
|
||||||
|
|
||||||
if (sem == NULL) {
|
if (sem == NULL) {
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user