]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r293858
authorvangyzen <vangyzen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jan 2016 20:49:52 +0000 (20:49 +0000)
committervangyzen <vangyzen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jan 2016 20:49:52 +0000 (20:49 +0000)
commit12e211150407c5d23f7a25a4e9b6cb1927aa05a9
treebbfc2892b402ec2b4fb2151c6e614b2806297503
parente8166506e5dd9a902d70e2da5f508b8ce4874913
MFC r293858

libthr: const-ify two variables

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

Sponsored by: Dell Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@294639 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libthr/thread/thr_umtx.c