mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Revert previous change, causing instability.
svn path=/trunk/netsurf/; revision=9649
This commit is contained in:
parent
4059d2b096
commit
9f6a4d9745
@ -1537,7 +1537,7 @@ void ami_get_msg(void)
|
||||
}
|
||||
else if(signal & schedulesig)
|
||||
{
|
||||
timermsg = (struct TimeRequest *)GetMsg(msgport);
|
||||
while(GetMsg(msgport));
|
||||
//schedule_run();
|
||||
}
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ void schedule(int t, void (*callback)(void *p), void *p)
|
||||
|
||||
GetSysTime(&tv);
|
||||
AddTime(&nscb->tv,&tv); // now contains time when event occurs
|
||||
|
||||
#ifdef AMI_SCHEDULER_USES_TIMER
|
||||
if(nscb->treq = AllocVec(sizeof(struct TimeRequest),MEMF_PRIVATE | MEMF_CLEAR))
|
||||
{
|
||||
*nscb->treq = *tioreq;
|
||||
@ -71,7 +71,7 @@ void schedule(int t, void (*callback)(void *p), void *p)
|
||||
nscb->treq->Time.Microseconds=nscb->tv.Microseconds; // micro
|
||||
SendIO((struct IORequest *)nscb->treq);
|
||||
}
|
||||
|
||||
#endif
|
||||
nscb->callback = callback;
|
||||
nscb->p = p;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user