From owner-cvs-src@FreeBSD.ORG Thu Sep 8 14:20:40 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E7C716A41F; Thu, 8 Sep 2005 14:20:40 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7C3F43D49; Thu, 8 Sep 2005 14:20:39 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j88EKdKb040378; Thu, 8 Sep 2005 14:20:39 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j88EKd79040377; Thu, 8 Sep 2005 14:20:39 GMT (envelope-from glebius) Message-Id: <200509081420.j88EKd79040377@repoman.freebsd.org> From: Gleb Smirnoff Date: Thu, 8 Sep 2005 14:20:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man9 timeout.9 src/sys/kern kern_timeout.c src/sys/sys callout.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 14:20:40 -0000 glebius 2005-09-08 14:20:39 UTC FreeBSD src repository Modified files: share/man/man9 timeout.9 sys/kern kern_timeout.c sys/sys callout.h Log: Make callout_reset() return a non-zero value if a pending callout was rescheduled. If there was no pending callout, then return 0. Reviewed by: iedowse, cperciva Revision Changes Path 1.29 +7 -5 src/share/man/man9/timeout.9 1.98 +8 -3 src/sys/kern/kern_timeout.c 1.29 +1 -1 src/sys/sys/callout.h