Revert "cygserver: Revamp thread sleep handling"
This reverts commit b80b2c0119
.
This commit is contained in:
@ -59,12 +59,6 @@ __FBSDID("$FreeBSD: /repoman/r/ncvs/src/sys/kern/sysv_shm.c,v 1.89 2003/11/07 04
|
||||
#include "process.h"
|
||||
#include "cygserver_ipc.h"
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#define _mk_shmid(P) ((P) - shmsegs)
|
||||
#define tsleep(P,p,w,t) _tsleep(SHM,_mk_shmid(P),(p),(w),(t))
|
||||
#define wakeup(P) _wakeup(SHM,_mk_shmid(P))
|
||||
#endif
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#ifndef PAGE_SIZE
|
||||
#define PAGE_SIZE (getpagesize ())
|
||||
|
Reference in New Issue
Block a user