Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2012 10:12:41 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r244286 - projects/calloutng/share/man/man9
Message-ID:  <201212161012.qBGACfHO054334@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sun Dec 16 10:12:40 2012
New Revision: 244286
URL: http://svnweb.freebsd.org/changeset/base/244286

Log:
  Document more new functions.

Modified:
  projects/calloutng/share/man/man9/Makefile
  projects/calloutng/share/man/man9/sleep.9
  projects/calloutng/share/man/man9/timeout.9

Modified: projects/calloutng/share/man/man9/Makefile
==============================================================================
--- projects/calloutng/share/man/man9/Makefile	Sun Dec 16 09:39:20 2012	(r244285)
+++ projects/calloutng/share/man/man9/Makefile	Sun Dec 16 10:12:40 2012	(r244286)
@@ -1196,9 +1196,16 @@ MLINKS+=signal.9 cursig.9 \
 	signal.9 SIG_STOPSIGMASK.9 \
 	signal.9 trapsignal.9
 MLINKS+=sleep.9 msleep.9 \
+	sleep.9 msleep_bt.9 \
+	sleep.9 msleep_flags.9 \
 	sleep.9 msleep_spin.9 \
+	sleep.9 msleep_spin_flags.9 \
 	sleep.9 pause.9 \
+	sleep.9 pause_bt.9 \
+	sleep.9 pause_flags.9 \
 	sleep.9 tsleep.9 \
+	sleep.9 tsleep_bt.9 \
+	sleep.9 tsleep_flags.9 \
 	sleep.9 wakeup.9 \
 	sleep.9 wakeup_one.9
 MLINKS+=sleepqueue.9 init_sleepqueues.9 \
@@ -1213,6 +1220,8 @@ MLINKS+=sleepqueue.9 init_sleepqueues.9 
 	sleepqueue.9 sleepq_release.9 \
 	sleepqueue.9 sleepq_remove.9 \
 	sleepqueue.9 sleepq_set_timeout.9 \
+	sleepqueue.9 sleepq_set_timeout_bt.9 \
+	sleepqueue.9 sleepq_set_timeout_flags.9 \
 	sleepqueue.9 sleepq_signal.9 \
 	sleepqueue.9 sleepq_timedwait.9 \
 	sleepqueue.9 sleepq_timedwait_sig.9 \
@@ -1335,6 +1344,11 @@ MLINKS+=timeout.9 callout.9 \
 	timeout.9 callout_init_rw.9 \
 	timeout.9 callout_pending.9 \
 	timeout.9 callout_reset.9 \
+	timeout.9 callout_reset_bt.9 \
+	timeout.9 callout_reset_flags.9 \
+	timeout.9 callout_reset_on.9 \
+	timeout.9 callout_reset_bt_on.9 \
+	timeout.9 callout_reset_flags_on.9 \
 	timeout.9 callout_schedule.9 \
 	timeout.9 callout_stop.9 \
 	timeout.9 untimeout.9

Modified: projects/calloutng/share/man/man9/sleep.9
==============================================================================
--- projects/calloutng/share/man/man9/sleep.9	Sun Dec 16 09:39:20 2012	(r244285)
+++ projects/calloutng/share/man/man9/sleep.9	Sun Dec 16 10:12:40 2012	(r244286)
@@ -25,15 +25,20 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 14, 2012
+.Dd December 16, 2012
 .Dt SLEEP 9
 .Os
 .Sh NAME
 .Nm msleep ,
+.Nm msleep_flags ,
 .Nm msleep_bt ,
 .Nm msleep_spin ,
+.Nm msleep_spin_flags ,
 .Nm pause ,
+.Nm pause_flags ,
+.Nm pause_bt ,
 .Nm tsleep ,
+.Nm tsleep_flags ,
 .Nm tsleep_bt ,
 .Nm wakeup
 .Nd wait for events
@@ -44,15 +49,28 @@
 .Ft int
 .Fn msleep "void *chan" "struct mtx *mtx" "int priority" "const char *wmesg" "int timo"
 .Ft int
+.Fn msleep_flags "void *chan" "struct mtx *mtx" "int priority" \
+"const char *wmesg" "int timo" "int flags"
+.Ft int
 .Fn msleep_bt "void *chan" "struct mtx *mtx" "int priority" \
 "const char *wmesg" "struct bintime *bt" "struct bintime *pr"
 .Ft int
 .Fn msleep_spin "void *chan" "struct mtx *mtx" "const char *wmesg" "int timo"
+.Ft int
+.Fn msleep_spin_flags "void *chan" "struct mtx *mtx" "const char *wmesg" \
+"int timo" "int flags"
 .Ft void
 .Fn pause "const char *wmesg" "int timo"
+.Ft void
+.Fn pause_flags "const char *wmesg" "int timo" "int flags"
+.Ft void
+.Fn pause_bt "const char *wmesg" "struct bintime *bt" "struct bintime *pr"
 .Ft int
 .Fn tsleep "void *chan" "int priority" "const char *wmesg" "int timo"
 .Ft int
+.Fn tsleep_flags "void *chan" "int priority" "const char *wmesg" "int timo" \
+"int flags"
+.Ft int
 .Fn tsleep_bt "void *chan" "int priority" "const char *wmesg" \
 "struct bintime *bt" "struct bintime *pr"
 .Ft void
@@ -156,12 +174,19 @@ If the timeout expires,
 then the sleep function will return
 .Er EWOULDBLOCK .
 .Pp
-.Fn msleep_bt
+The parameter
+.Fa flags
+allows to pass additional
+.Fn callout_reset_flags
+flags to specify relative event precision.
+.Pp
+.Fn msleep_bt ,
+.Fn pause_bt
 and
 .Fn tsleep_bt
 functions take
 .Fa bt
-argument instead of
+parameter instead of
 .Fa timo .
 It allows to specify wakeup time with higher resolution as absolute time
 since boot in form of

Modified: projects/calloutng/share/man/man9/timeout.9
==============================================================================
--- projects/calloutng/share/man/man9/timeout.9	Sun Dec 16 09:39:20 2012	(r244285)
+++ projects/calloutng/share/man/man9/timeout.9	Sun Dec 16 10:12:40 2012	(r244286)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 14, 2012
+.Dd December 16, 2012
 .Dt TIMEOUT 9
 .Os
 .Sh NAME
@@ -42,6 +42,7 @@
 .Nm callout_stop ,
 .Nm callout_drain ,
 .Nm callout_reset ,
+.Nm callout_reset_flags ,
 .Nm callout_reset_on ,
 .Nm callout_reset_flags_on ,
 .Nm callout_reset_bt_on ,
@@ -81,6 +82,9 @@ struct callout_handle handle = CALLOUT_H
 .Ft int
 .Fn callout_reset "struct callout *c" "int ticks" "timeout_t *func" "void *arg"
 .Ft int
+.Fn callout_reset_flags "struct callout *c" "int ticks" "timeout_t *func" \
+"void *arg" "int flags"
+.Ft int
 .Fn callout_reset_on "struct callout *c" "int ticks" "timeout_t *func" \
 "void *arg" "int cpu"
 .Ft int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212161012.qBGACfHO054334>