Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e73d0df2
Commit
e73d0df2
authored
Dec 31, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
event/*Monitor: document as not being thread-safe
parent
af3f4839
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
0 deletions
+15
-0
DeferredMonitor.hxx
src/event/DeferredMonitor.hxx
+3
-0
IdleMonitor.hxx
src/event/IdleMonitor.hxx
+4
-0
SocketMonitor.hxx
src/event/SocketMonitor.hxx
+4
-0
TimeoutMonitor.hxx
src/event/TimeoutMonitor.hxx
+4
-0
No files found.
src/event/DeferredMonitor.hxx
View file @
e73d0df2
...
...
@@ -38,6 +38,9 @@ class EventLoop;
/**
* Defer execution of an event into an #EventLoop.
*
* This class is thread-safe, however the constructor must be called
* from the thread that runs the #EventLoop
*/
class
DeferredMonitor
#ifdef USE_INTERNAL_EVENTLOOP
...
...
src/event/IdleMonitor.hxx
View file @
e73d0df2
...
...
@@ -32,6 +32,10 @@ class EventLoop;
* An event that runs when the EventLoop has become idle, before
* waiting for more events. This class is not thread-safe; all
* methods must be run from EventLoop's thread.
*
* This class is not thread-safe, all methods must be called from the
* thread that runs the #EventLoop, except where explicitly documented
* as thread-safe.
*/
class
IdleMonitor
{
#ifdef USE_INTERNAL_EVENTLOOP
...
...
src/event/SocketMonitor.hxx
View file @
e73d0df2
...
...
@@ -50,6 +50,10 @@ class EventLoop;
* you're interested in, or Cancel() to cancel your subscription. The
* #EventLoop will invoke virtual method OnSocketReady() as soon as
* any of the subscribed events are ready.
*
* This class is not thread-safe, all methods must be called from the
* thread that runs the #EventLoop, except where explicitly documented
* as thread-safe.
*/
class
SocketMonitor
{
#ifdef USE_GLIB_EVENTLOOP
...
...
src/event/TimeoutMonitor.hxx
View file @
e73d0df2
...
...
@@ -31,6 +31,10 @@ class EventLoop;
/**
* This class monitors a timeout. Use Schedule() to begin the timeout
* or Cancel() to cancel it.
*
* This class is not thread-safe, all methods must be called from the
* thread that runs the #EventLoop, except where explicitly documented
* as thread-safe.
*/
class
TimeoutMonitor
{
#ifdef USE_INTERNAL_EVENTLOOP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment