diff options
author | Max Kellermann <max@duempel.org> | 2013-12-31 16:31:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-04 18:22:55 +0100 |
commit | c9da3363a04bfdf8a0f0b2d974291e422a0345d2 (patch) | |
tree | fd79aa539d93da5c12d35f05a104a4c8e82258b9 /src/event/SocketMonitor.cxx | |
parent | 9bd4ed3e60df771241114ed460b8b5943ff57982 (diff) | |
download | mpd-c9da3363a04bfdf8a0f0b2d974291e422a0345d2.tar.gz mpd-c9da3363a04bfdf8a0f0b2d974291e422a0345d2.tar.xz mpd-c9da3363a04bfdf8a0f0b2d974291e422a0345d2.zip |
output/httpd: move all broadcast operations to the IOThread
Add a Page queue to class HttpdOutput, and use DeferredMonitor to
flush this queue inside the IOThread. This fixes a thread-safety
issue: much of EventLoop is not thread-safe, and the httpd plugin
ignored that problem.
Diffstat (limited to 'src/event/SocketMonitor.cxx')
0 files changed, 0 insertions, 0 deletions