History log of /openbsd-current/share/man/man9/mutex.9
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.25 04-Nov-2019 anton

xr witness(4); prodded by and ok visa@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.24 30-Oct-2017 visa

Document {mtx,rw,rrw}_init_flags() and MUTEX_INITIALIZER_FLAGS().

Input and OK jmc@, OK mpi@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.23 19-Jun-2016 natano

Remove the lockmgr() API. It is only used by filesystems, where it is a
trivial change to use rrw locks instead. All it needs is LK_* defines
for the RW_* flags.

tested by naddy and sthen on package building infrastructure
input and ok jmc mpi tedu


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.22 13-Feb-2014 jmc

lowercase non-capital;


# 1.21 13-Feb-2014 dlg

use the return values section to document return values


# 1.20 13-Feb-2014 dlg

explicitely document the contexts you can call mutex functions in.


# 1.19 19-Jan-2014 dlg

msleep.9 is relevant to my interests.

ok guenther@


# 1.18 09-Dec-2013 dlg

.Nm lines for the macros


# 1.17 09-Dec-2013 dlg

basic documentation for MUTEX_INITIALIZER.


Revision tags: OPENBSD_5_4_BASE
# 1.16 17-Jul-2013 schwarze

use .Mt for AUTHORS email; from Jan Stary <hans at stare dot cz>; ok jmc@


# 1.15 04-Jun-2013 schwarze

Replace old-fashioned .Fd by new-fangled .In for #include lines.
Diff from Jan Klemkow <j dot klemkow at wemelug dot de> on tech@.
No objection from jmc@ against this type of change.


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.14 08-Aug-2010 jmc

cpu -> CPU;


# 1.13 07-Aug-2010 oga

Document the mutex locking assert macros.

Requested by marco.

ok marco@, schwarze@ (who insists that manpages are still unlocked).


Revision tags: OPENBSD_4_7_BASE
# 1.12 08-Sep-2009 jmc

missing word;


# 1.11 08-Sep-2009 deraadt

slight corrections from what dlg just commited


# 1.10 08-Sep-2009 dlg

another missing bit of mtx_enter_try.


Revision tags: OPENBSD_4_6_BASE
# 1.9 11-May-2009 jmc

remove the mtx_enter_try() bits until the code goes back in;
ok weingart


# 1.8 25-Apr-2009 weingart

Enter mtx_enter_try. In part for completeness, things may start
using this soon(ish). Ok oga@, sorta yes kettenis@.


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.7 09-Dec-2007 jmc

update pedro's email address, at his request;


# 1.6 09-Dec-2007 jmc

kill trailing whitespace;


# 1.5 09-Dec-2007 tedu

clarify that mtx_enter will only raise the ipl if necessary (not
arbitrarily set it).
noticed by deraadt


Revision tags: OPENBSD_4_2_BASE
# 1.4 31-May-2007 jmc

convert to new .Dd format;


# 1.3 14-May-2007 jsg

Add notes about sleeping with held locks and interrupt handler usage.
Based on comments by art, and tweaked by jmc.

ok art@


# 1.2 13-May-2007 jsg

reference rwlock(9)


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.1 18-Feb-2005 pedro

Manual page for the mutex set of functions. Okay jmc@ and art@.


# 1.24 30-Oct-2017 visa

Document {mtx,rw,rrw}_init_flags() and MUTEX_INITIALIZER_FLAGS().

Input and OK jmc@, OK mpi@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.23 19-Jun-2016 natano

Remove the lockmgr() API. It is only used by filesystems, where it is a
trivial change to use rrw locks instead. All it needs is LK_* defines
for the RW_* flags.

tested by naddy and sthen on package building infrastructure
input and ok jmc mpi tedu


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.22 13-Feb-2014 jmc

lowercase non-capital;


# 1.21 13-Feb-2014 dlg

use the return values section to document return values


# 1.20 13-Feb-2014 dlg

explicitely document the contexts you can call mutex functions in.


# 1.19 19-Jan-2014 dlg

msleep.9 is relevant to my interests.

ok guenther@


# 1.18 09-Dec-2013 dlg

.Nm lines for the macros


# 1.17 09-Dec-2013 dlg

basic documentation for MUTEX_INITIALIZER.


Revision tags: OPENBSD_5_4_BASE
# 1.16 17-Jul-2013 schwarze

use .Mt for AUTHORS email; from Jan Stary <hans at stare dot cz>; ok jmc@


# 1.15 04-Jun-2013 schwarze

Replace old-fashioned .Fd by new-fangled .In for #include lines.
Diff from Jan Klemkow <j dot klemkow at wemelug dot de> on tech@.
No objection from jmc@ against this type of change.


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.14 08-Aug-2010 jmc

cpu -> CPU;


# 1.13 07-Aug-2010 oga

Document the mutex locking assert macros.

Requested by marco.

ok marco@, schwarze@ (who insists that manpages are still unlocked).


Revision tags: OPENBSD_4_7_BASE
# 1.12 08-Sep-2009 jmc

missing word;


# 1.11 08-Sep-2009 deraadt

slight corrections from what dlg just commited


# 1.10 08-Sep-2009 dlg

another missing bit of mtx_enter_try.


Revision tags: OPENBSD_4_6_BASE
# 1.9 11-May-2009 jmc

remove the mtx_enter_try() bits until the code goes back in;
ok weingart


# 1.8 25-Apr-2009 weingart

Enter mtx_enter_try. In part for completeness, things may start
using this soon(ish). Ok oga@, sorta yes kettenis@.


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.7 09-Dec-2007 jmc

update pedro's email address, at his request;


# 1.6 09-Dec-2007 jmc

kill trailing whitespace;


# 1.5 09-Dec-2007 tedu

clarify that mtx_enter will only raise the ipl if necessary (not
arbitrarily set it).
noticed by deraadt


Revision tags: OPENBSD_4_2_BASE
# 1.4 31-May-2007 jmc

convert to new .Dd format;


# 1.3 14-May-2007 jsg

Add notes about sleeping with held locks and interrupt handler usage.
Based on comments by art, and tweaked by jmc.

ok art@


# 1.2 13-May-2007 jsg

reference rwlock(9)


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.1 18-Feb-2005 pedro

Manual page for the mutex set of functions. Okay jmc@ and art@.