lwp: Simplify lwpSigWait() interface
lwpSigWait() was designed to resemble sigwait(). It doesn't anymore. Drop the awkward argument, and use the return value instead. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
d89bda9998
commit
8a04586048
3 changed files with 9 additions and 10 deletions
|
@ -64,7 +64,7 @@ void lwpYield(void);
|
|||
int lwpSleepFd(int fd, int flags, struct timeval *timeout);
|
||||
int lwpSleepUntil(time_t until);
|
||||
void lwpWakeup(struct lwpProc *);
|
||||
int lwpSigWait(int *sig);
|
||||
int lwpSigWait(void);
|
||||
void *lwpGetUD(struct lwpProc *);
|
||||
void lwpSetUD(struct lwpProc *, char *ud);
|
||||
int lwpSetPriority(int prio);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue