diff options
author | paul <paul> | 2005-05-19 01:30:53 +0000 |
---|---|---|
committer | paul <paul> | 2005-05-19 01:30:53 +0000 |
commit | b143e8027d3688f6095737e6c8b77e5c6364e106 (patch) | |
tree | a1a39ab59776a336cce0d3391d9b35f5c0b90e71 /lib/thread.h | |
parent | 2d021480398dced1f06bd90facb042dc69033a74 (diff) | |
download | quagga-b143e8027d3688f6095737e6c8b77e5c6364e106.tar.bz2 quagga-b143e8027d3688f6095737e6c8b77e5c6364e106.tar.xz |
2005-05-19 Paul Jakma <paul@dishone.st>
* thread.c: (thread_cancel_event) the number of pending events
cancelled is potentially useful information, dont throw it away,
pass it back to the caller.
Diffstat (limited to 'lib/thread.h')
-rw-r--r-- | lib/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.h b/lib/thread.h index 4a3bbbe5..f693ff5a 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -185,7 +185,7 @@ extern struct thread *funcname_thread_execute (struct thread_master *, int (*)(struct thread *), void *, int, const char *); extern void thread_cancel (struct thread *); -extern void thread_cancel_event (struct thread_master *, void *); +extern unsigned int thread_cancel_event (struct thread_master *, void *); extern struct thread *thread_fetch (struct thread_master *, struct thread *); extern void thread_call (struct thread *); extern unsigned long thread_timer_remain_second (struct thread *); |