summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_init.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-08-10 21:06:59 +0000
committerjhb <jhb@FreeBSD.org>2001-08-10 21:06:59 +0000
commit22915435df9de745286e8fe0078066cb617c9350 (patch)
treed4d3fb3bb15d8f8c5cb3d8aa87fc69c86af2c524 /lib/libpthread/thread/thr_init.c
parent18c8b84e2f8c35c323f0ee30773be2a2b4df140f (diff)
downloadFreeBSD-src-22915435df9de745286e8fe0078066cb617c9350.zip
FreeBSD-src-22915435df9de745286e8fe0078066cb617c9350.tar.gz
Change callout_stop() to return an integer. If callout_stop() succeeds in
removing the callout entry, return 1. If callout_stop() fails to remove the callout entry because it is currently executing or has already been executed, then the function returns 0. The idea was obtained from BSD/OS, however, BSD/OS changed untimeout(), and I've just changed callout_stop() to be more conservative. Obtained from: BSD/OS
Diffstat (limited to 'lib/libpthread/thread/thr_init.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud