Date: Fri, 10 Aug 2001 14:06:59 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_timeout.c src/sys/sys callout.h Message-ID: <200108102106.f7AL6x301984@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/08/10 14:06:59 PDT Modified files: sys/kern kern_timeout.c sys/sys callout.h Log: 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 Revision Changes Path 1.69 +4 -3 src/sys/kern/kern_timeout.c 1.21 +2 -2 src/sys/sys/callout.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108102106.f7AL6x301984>