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
b5c9f126
Commit
b5c9f126
authored
Oct 05, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the instance lock static
(it's not distinct from the module bank lock)
parent
89ea9a8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
src/libvlc.c
src/libvlc.c
+1
-1
src/libvlc.h
src/libvlc.h
+0
-1
No files found.
src/libvlc.c
View file @
b5c9f126
...
@@ -228,7 +228,7 @@ static int VerboseCallback( vlc_object_t *, char const *,
...
@@ -228,7 +228,7 @@ static int VerboseCallback( vlc_object_t *, char const *,
static
void
InitDeviceValues
(
libvlc_int_t
*
);
static
void
InitDeviceValues
(
libvlc_int_t
*
);
vlc_mutex_t
global_lock
=
VLC_STATIC_MUTEX
;
static
vlc_mutex_t
global_lock
=
VLC_STATIC_MUTEX
;
/**
/**
* Allocate a libvlc instance, initialize global data if needed
* Allocate a libvlc instance, initialize global data if needed
...
...
src/libvlc.h
View file @
b5c9f126
...
@@ -45,7 +45,6 @@ void system_End ( libvlc_int_t * );
...
@@ -45,7 +45,6 @@ void system_End ( libvlc_int_t * );
/*
/*
* Threads subsystem
* Threads subsystem
*/
*/
extern
vlc_mutex_t
global_lock
;
/* TODO: remove this crap */
/* Hopefully, no need to export this. There is a new thread API instead. */
/* Hopefully, no need to export this. There is a new thread API instead. */
void
vlc_thread_cancel
(
vlc_object_t
*
);
void
vlc_thread_cancel
(
vlc_object_t
*
);
...
...
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