mainloop: Don't care about the mainloop state variable when waking up the mainloop.
authorTanu Kaskinen <tanu.kaskinen@digia.com>
Mon, 2 Apr 2012 12:01:05 +0000 (15:01 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 15 Nov 2012 15:57:51 +0000 (17:57 +0200)
commit872f56dc7ec43cb1511ef0d25c1736a373b3c2e2
treea6b31d3a41267f6a355a5ca50220518b36668516
parent58de999a310757d69801d5e53dbce824dc961404
mainloop: Don't care about the mainloop state variable when waking up the mainloop.

If the mainloop is just about to enter polling, but m->state
is not POLLING yet when some other thread calls
pa_mainloop_wakeup(), the mainloop will not be woken up.
It's safe to write to the wakeup pipe at any time, so let's
just remove the check.
src/pulse/mainloop.c