event/DeferEvent: split the thread-safe version into new class InjectEvent

This commit is contained in:
Max Kellermann
2020-12-01 16:25:11 +01:00
parent 1ecbc2ff0f
commit 774b4313f2
22 changed files with 226 additions and 68 deletions

View File

@@ -39,7 +39,7 @@
#include "pcm/AudioFormat.hxx"
#include "Log.hxx"
#include "event/MultiSocketMonitor.hxx"
#include "event/DeferEvent.hxx"
#include "event/InjectEvent.hxx"
#include <alsa/asoundlib.h>
@@ -80,7 +80,7 @@ class AlsaInputStream final
AlsaNonBlockPcm non_block;
DeferEvent defer_invalidate_sockets;
InjectEvent defer_invalidate_sockets;
public: