diff options
author | Max Kellermann <max@duempel.org> | 2014-01-04 15:58:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-04 15:59:00 +0100 |
commit | 1f1195975f6a970d1a690ced463c184c0cf97e2d (patch) | |
tree | 505ad10059a166b250f96e2bc658e8921e4d6acf /src/encoder/VorbisEncoderPlugin.hxx | |
parent | 87fce8ef27dd86d492cb3072a3b3a5a756607b1e (diff) | |
download | mpd-1f1195975f6a970d1a690ced463c184c0cf97e2d.tar.gz mpd-1f1195975f6a970d1a690ced463c184c0cf97e2d.tar.xz mpd-1f1195975f6a970d1a690ced463c184c0cf97e2d.zip |
event/Loop: non-recursive Break() implementation
Simply set the "quit" flag and wake up the thread. This works even if
we're inside this thread. Setting "quit" to a new value without mutex
protection is usually not safe, but good enough here.
Diffstat (limited to 'src/encoder/VorbisEncoderPlugin.hxx')
0 files changed, 0 insertions, 0 deletions