diff options
author | marcel <marcel@FreeBSD.org> | 2010-01-27 02:32:07 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-01-27 02:32:07 +0000 |
commit | 0e7685cf237a34c682a1ba0440a703141430afd8 (patch) | |
tree | 976c3617053e6076cb604afccc49f55362f287f7 /lib/libc/stdlib/getopt.c | |
parent | 9b81a2fd8de8a8125e33b82de8bc199e4d15f54a (diff) | |
download | FreeBSD-src-0e7685cf237a34c682a1ba0440a703141430afd8.zip FreeBSD-src-0e7685cf237a34c682a1ba0440a703141430afd8.tar.gz |
In cpu_switch(), use an atomic operation to set the td_lock
of the old thread to the mutex that's passed.
Pointed out by: attilio, jhb
Diffstat (limited to 'lib/libc/stdlib/getopt.c')
0 files changed, 0 insertions, 0 deletions