summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
diff options
context:
space:
mode:
authorbenjsc <benjsc@FreeBSD.org>2007-11-27 09:09:09 +0000
committerbenjsc <benjsc@FreeBSD.org>2007-11-27 09:09:09 +0000
commit5ea08ee1129594ac4413de68021a12c2008a2c30 (patch)
treee19230158140833f1177fd84a1233a65f61b99a4 /lib/libc/stdlib/random.c
parent981215a5d399f0c53f50e0ff06b9fc40658df99d (diff)
downloadFreeBSD-src-5ea08ee1129594ac4413de68021a12c2008a2c30.zip
FreeBSD-src-5ea08ee1129594ac4413de68021a12c2008a2c30.tar.gz
Fix up a race condition with the callout_stop method in newstate.
The call should happen with the driver lock held. We don't hold the driver lock in newstate as it's a separate thread where we can't sleep (and we only call wpi_cmd in async mode). Discovered By: Attillo's callout rework Approved By: mlaier (comentor)
Diffstat (limited to 'lib/libc/stdlib/random.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud