Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
5aa33f1f
Commit
5aa33f1f
authored
Dec 22, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added vlc_object_assert_locked utility.
parent
3e8dca47
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
include/vlc_objects.h
include/vlc_objects.h
+4
-0
src/libvlccore.sym
src/libvlccore.sym
+1
-0
src/misc/objects.c
src/misc/objects.c
+4
-0
No files found.
include/vlc_objects.h
View file @
5aa33f1f
...
...
@@ -127,6 +127,10 @@ VLC_EXPORT( void, __vlc_object_unlock, ( vlc_object_t * ) );
#define vlc_object_unlock( obj ) \
__vlc_object_unlock( VLC_OBJECT( obj ) )
VLC_EXPORT
(
void
,
__vlc_object_assert_locked
,
(
vlc_object_t
*
)
);
#define vlc_object_assert_locked( obj ) \
__vlc_object_assert_locked( VLC_OBJECT( obj ) )
VLC_EXPORT
(
void
,
__vlc_object_wait
,
(
vlc_object_t
*
)
);
#define vlc_object_wait( obj ) \
__vlc_object_wait( VLC_OBJECT( obj ) )
...
...
src/libvlccore.sym
View file @
5aa33f1f
...
...
@@ -481,6 +481,7 @@ vlc_mutex_init
vlc_mutex_init_recursive
vlc_mutex_lock
vlc_mutex_unlock
__vlc_object_assert_locked
__vlc_object_attach
__vlc_object_create
__vlc_object_detach
...
...
src/misc/objects.c
View file @
5aa33f1f
...
...
@@ -331,6 +331,10 @@ void __vlc_object_unlock( vlc_object_t *obj )
vlc_assert_locked
(
&
(
vlc_internals
(
obj
)
->
lock
)
);
vlc_mutex_unlock
(
&
(
vlc_internals
(
obj
)
->
lock
)
);
}
void
__vlc_object_assert_locked
(
vlc_object_t
*
obj
)
{
vlc_assert_locked
(
&
(
vlc_internals
(
obj
)
->
lock
)
);
}
#ifdef WIN32
# include <winsock2.h>
...
...
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