Date: Thu, 30 Mar 2006 11:19:08 GMT From: Tomas Olsson <tol@stacken.kth.se> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/95104: tsleep() man page mentions nonexistent 'mtx' arg Message-ID: <200603301119.k2UBJ85v021791@www.freebsd.org> Resent-Message-ID: <200603301120.k2UBKG6Z059542@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95104 >Category: docs >Synopsis: tsleep() man page mentions nonexistent 'mtx' arg >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 30 11:20:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Tomas Olsson >Release: 5.5-BETA4 >Organization: Stacken Computer Club >Environment: FreeBSD lab04.lab.it.su.se 5.5-BETA4 FreeBSD 5.5-BETA4 #0: Mon Mar 13 23:12:57 UTC 2006 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: SLEEP(9) says under tsleep(): If the Giant lock is not held and mtx is NULL, then timo must be non-zero. However, the given proto is int tsleep(void *ident, int priority, const char *wmesg, int timo); -- no mtx there. Is this just plain wrong, or should it be under msleep() instead? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603301119.k2UBJ85v021791>