Synchronize selrecord()/selwakeup()
commit06e9813fb64f50ce3bb65c9a2c582bf1de67848a
authorMattias Nissler <mattias.nissler@gmx.de>
Sat, 7 Jun 2008 18:40:17 +0000 (7 20:40 +0200)
committerMattias Nissler <mattias.nissler@gmx.de>
Sat, 7 Jun 2008 18:45:47 +0000 (7 20:45 +0200)
tree23792de7945e6a6b3881eae07c568a35efb84879
parent0ebc5ac14b79f91c3f0f7e2ea62850b74b93fb4c
Synchronize selrecord()/selwakeup()

This protects the selwakeup call by grabbing the lock. Roland Westrelin
<roland.westrelin@gmail.com> reported issues select() calls misbehaving, this
change fixes the issue according to him.
tuntap/src/tuntap.cc