Skip to content
Snippets Groups Projects
Commit 2fb7fdd4 authored by Ben Franksen's avatar Ben Franksen
Browse files

docs: added NOEVFLAG constant and its use in pvSync

parent 6b25e399
No related branches found
No related tags found
No related merge requests found
...@@ -1047,6 +1047,17 @@ boolean ...@@ -1047,6 +1047,17 @@ boolean
#define FALSE 0 #define FALSE 0
NOEVFLAG
^^^^^^^^
::
#define NOEVFLAG 0
This can be given as second argument to :c:func:`pvSync` (instead of
an event flag) to cancel the sync.
.. _BuiltinFunctions: .. _BuiltinFunctions:
Built-in Functions Built-in Functions
...@@ -1339,7 +1350,7 @@ pvSync ...@@ -1339,7 +1350,7 @@ pvSync
void pvSync(assigned_var, event_flag) void pvSync(assigned_var, event_flag)
Synchronizes a variable with an event flag, or removes such a Synchronizes a variable with an event flag, or removes such a
synchronization if ``event_flag`` is zero. synchronization if ``event_flag`` is `NOEVFLAG`_.
See :token:`sync` clause. See :token:`sync` clause.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment