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
f7e7e079
Commit
f7e7e079
authored
Jul 06, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable cancellation everywhere (except in msg_Dbg) to start with
parent
2ec60e08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/misc/threads.c
src/misc/threads.c
+3
-0
No files found.
src/misc/threads.c
View file @
f7e7e079
...
@@ -640,13 +640,16 @@ static void *thread_entry (void *data)
...
@@ -640,13 +640,16 @@ static void *thread_entry (void *data)
{
{
vlc_object_t
*
obj
=
((
struct
vlc_thread_boot
*
)
data
)
->
object
;
vlc_object_t
*
obj
=
((
struct
vlc_thread_boot
*
)
data
)
->
object
;
void
*
(
*
func
)
(
vlc_object_t
*
)
=
((
struct
vlc_thread_boot
*
)
data
)
->
entry
;
void
*
(
*
func
)
(
vlc_object_t
*
)
=
((
struct
vlc_thread_boot
*
)
data
)
->
entry
;
int
canc
;
free
(
data
);
free
(
data
);
#ifndef NDEBUG
#ifndef NDEBUG
vlc_threadvar_set
(
&
thread_object_key
,
obj
);
vlc_threadvar_set
(
&
thread_object_key
,
obj
);
#endif
#endif
msg_Dbg
(
obj
,
"thread started"
);
msg_Dbg
(
obj
,
"thread started"
);
canc
=
vlc_savecancel
();
func
(
obj
);
func
(
obj
);
vlc_restorecancel
(
canc
);
msg_Dbg
(
obj
,
"thread ended"
);
msg_Dbg
(
obj
,
"thread ended"
);
return
NULL
;
return
NULL
;
...
...
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