mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
[project @ 2005-05-17 23:25:32 by rjw]
Don't allow things to be scheduled twice. svn path=/import/netsurf/; revision=1725
This commit is contained in:
parent
642a3d62f2
commit
9702484306
@ -55,6 +55,8 @@ void schedule(int t, void (*callback)(void *p), void *p)
|
||||
struct sched_entry *entry;
|
||||
struct sched_entry *queue;
|
||||
os_t time;
|
||||
|
||||
schedule_remove(callback, p);
|
||||
|
||||
time = os_read_monotonic_time() + t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user