]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libthr: const-ify two variables
authorEric van Gyzen <vangyzen@FreeBSD.org>
Wed, 13 Jan 2016 22:34:55 +0000 (22:34 +0000)
committerEric van Gyzen <vangyzen@FreeBSD.org>
Wed, 13 Jan 2016 22:34:55 +0000 (22:34 +0000)
commit8e402f34b9312295173e182ce4a2c1356ae14774
treed6f876a8b2b7f044abe318a32450db7f831ace44
parent216818a1bba6638d2d8e14592c6313fad7f7e930
libthr: const-ify two variables

Make the default umutex and urwlock initializers const,
because they can be, and as a microoptimization.

MFC after: 5 days
Sponsored by: Dell Inc.
lib/libthr/thread/thr_umtx.c