mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
MJPEGServer: Use worker thread model.
Also make the worker thread a class for future per-client configuration use. Depends on wpiutil #153.
This commit is contained in:
@@ -66,6 +66,8 @@ class SinkImpl {
|
||||
llvm::StringRef GetError(llvm::SmallVectorImpl<char>& buf) const;
|
||||
|
||||
protected:
|
||||
virtual void SetSourceImpl(std::shared_ptr<SourceImpl> source);
|
||||
|
||||
mutable std::mutex m_mutex;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user