Revert "cygserver: Revamp thread sleep handling"

This reverts commit b80b2c0119.
This commit is contained in:
Corinna Vinschen
2017-06-20 13:09:07 +02:00
parent 185cd97d24
commit c5ca43f359
5 changed files with 99 additions and 71 deletions

View File

@ -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 ())