Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
575a1925
Commit
575a1925
authored
Jul 06, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interrupt: fix Doxygen (missing head line)
parent
868cc0e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
include/vlc_interrupt.h
include/vlc_interrupt.h
+13
-4
No files found.
include/vlc_interrupt.h
View file @
575a1925
...
...
@@ -45,6 +45,8 @@ struct msghdr;
*/
/**
* Interruptible variant of vlc_sem_wait().
*
* Waits on a semaphore like vlc_sem_wait(). If the calling thread has an
* interruption context (as set by vlc_interrupt_set()), and another thread
* invokes vlc_interrupt_raise() on that context, the semaphore is incremented.
...
...
@@ -61,6 +63,8 @@ struct msghdr;
VLC_API
int
vlc_sem_wait_i11e
(
vlc_sem_t
*
);
/**
* Interruptible variant of poll().
*
* Waits for file descriptors I/O events, a timeout, a signal or a VLC I/O
* interruption. Except for VLC I/O interruptions, this function behaves
* just like the standard poll().
...
...
@@ -133,9 +137,10 @@ VLC_API void vlc_interrupt_destroy(vlc_interrupt_t *);
VLC_API
vlc_interrupt_t
*
vlc_interrupt_set
(
vlc_interrupt_t
*
);
/**
* Raises an interruption through a specified context. This is used to
* asynchronously wake a thread up while it is waiting on some other events
* (typically I/O events).
* Raises an interruption through a specified context.
*
* This is used to asynchronously wake a thread up while it is waiting on some
* other events (typically I/O events).
*
* @note This function is thread-safe.
* @note This function is not a cancellation point.
...
...
@@ -143,11 +148,15 @@ VLC_API vlc_interrupt_t *vlc_interrupt_set(vlc_interrupt_t *);
VLC_API
void
vlc_interrupt_raise
(
vlc_interrupt_t
*
);
/**
* Marks the interruption context as "killed". This is not reversible.
* Marks the interruption context as "killed".
*
* This is not reversible.
*/
VLC_API
void
vlc_interrupt_kill
(
vlc_interrupt_t
*
);
/**
* Checks if the interruption context was "killed".
*
* Indicates whether the interruption context of the calling thread (if any)
* was killed with vlc_interrupt_kill().
*/
...
...
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