Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ee05d26b
Commit
ee05d26b
authored
Sep 16, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Inline vlc_object_signal
parent
eca5f8a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
include/vlc_objects.h
include/vlc_objects.h
+6
-1
src/misc/objects.c
src/misc/objects.c
+0
-11
No files found.
include/vlc_objects.h
View file @
ee05d26b
...
...
@@ -174,7 +174,12 @@ VLC_EXPORT( void, __vlc_object_signal_unlocked, ( vlc_object_t * ) );
#define vlc_object_signal_unlocked( obj ) \
__vlc_object_signal_unlocked( VLC_OBJECT( obj ) )
VLC_EXPORT
(
void
,
__vlc_object_signal
,
(
vlc_object_t
*
)
);
static
inline
void
__vlc_object_signal
(
vlc_object_t
*
obj
)
{
vlc_oject_lock
(
obj
);
vlc_object_signal_unlocked
(
obj
);
vlc_object_unlock
(
obj
);
}
#define vlc_object_signal( obj ) \
__vlc_object_signal( VLC_OBJECT( obj ) )
...
...
src/misc/objects.c
View file @
ee05d26b
...
...
@@ -506,17 +506,6 @@ void __vlc_object_signal_unlocked( vlc_object_t *obj )
}
/**
* Signals an object for which the lock is NOT held.
*/
void
__vlc_object_signal
(
vlc_object_t
*
obj
)
{
vlc_mutex_lock
(
&
obj
->
object_lock
);
vlc_object_signal_unlocked
(
obj
);
vlc_mutex_unlock
(
&
obj
->
object_lock
);
}
/**
* Requests termination of an object.
* If the object is LibVLC, also request to terminate all its children.
...
...
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