(lwpProc): Change type of member runtime to time_t.
(lwpSleepUntil): Change type of parameter to time_t.
This commit is contained in:
parent
8e6300b620
commit
e501656b4a
3 changed files with 6 additions and 4 deletions
|
@ -123,9 +123,10 @@ lwpWakeupFd(struct lwpProc *proc)
|
|||
}
|
||||
|
||||
void
|
||||
lwpSleepUntil(long until)
|
||||
lwpSleepUntil(time_t until)
|
||||
{
|
||||
lwpStatus(LwpCurrent, "sleeping for %ld sec", until - time(0));
|
||||
lwpStatus(LwpCurrent, "sleeping for %ld sec",
|
||||
(long)(until - time(NULL)));
|
||||
LwpCurrent->runtime = until;
|
||||
if (LwpMaxfd == 0 && LwpDelayq.head == 0) {
|
||||
/* select process is sleeping until first waiter arrives */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue