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
2068f9bc
Commit
2068f9bc
authored
Aug 19, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce interface lock scope
parent
463e1609
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/interface/interface.c
src/interface/interface.c
+1
-3
No files found.
src/interface/interface.c
View file @
2068f9bc
...
...
@@ -129,7 +129,6 @@ int intf_Create( vlc_object_t *p_this, const char *chain )
goto
error
;
}
vlc_mutex_lock
(
&
lock
);
#if defined( __APPLE__ )
/* Hack to get Mac OS X Cocoa runtime running
* (it needs access to the main thread) */
...
...
@@ -139,7 +138,6 @@ int intf_Create( vlc_object_t *p_this, const char *chain )
MonitorLibVLCDeath
,
p_intf
,
VLC_THREAD_PRIORITY_LOW
)
)
{
msg_Err
(
p_intf
,
"cannot spawn libvlc death monitoring thread"
);
vlc_mutex_unlock
(
&
lock
);
goto
error
;
}
assert
(
p_intf
->
pf_run
);
...
...
@@ -158,10 +156,10 @@ int intf_Create( vlc_object_t *p_this, const char *chain )
RunInterface
,
p_intf
,
VLC_THREAD_PRIORITY_LOW
)
)
{
msg_Err
(
p_intf
,
"cannot spawn interface thread"
);
vlc_mutex_unlock
(
&
lock
);
goto
error
;
}
vlc_mutex_lock
(
&
lock
);
p_intf
->
p_next
=
libvlc_priv
(
p_libvlc
)
->
p_intf
;
libvlc_priv
(
p_libvlc
)
->
p_intf
=
p_intf
;
vlc_mutex_unlock
(
&
lock
);
...
...
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