Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
84a6069c
Commit
84a6069c
authored
Aug 01, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: unimplement thread result
This is never used currently. Removing it simplifies the next commits.
parent
15f16798
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
include/vlc_threads.h
include/vlc_threads.h
+0
-1
src/misc/w32thread.c
src/misc/w32thread.c
+2
-3
No files found.
include/vlc_threads.h
View file @
84a6069c
...
@@ -129,7 +129,6 @@ struct vlc_timer_t
...
@@ -129,7 +129,6 @@ struct vlc_timer_t
typedef
struct
typedef
struct
{
{
HANDLE
handle
;
HANDLE
handle
;
void
*
result
;
#if defined( UNDER_CE )
#if defined( UNDER_CE )
HANDLE
cancel_event
;
HANDLE
cancel_event
;
#endif
#endif
...
...
src/misc/w32thread.c
View file @
84a6069c
...
@@ -427,7 +427,7 @@ static unsigned __stdcall vlc_entry (void *p)
...
@@ -427,7 +427,7 @@ static unsigned __stdcall vlc_entry (void *p)
#endif
#endif
vlc_threadvar_set
(
cancel_key
,
&
cancel_data
);
vlc_threadvar_set
(
cancel_key
,
&
cancel_data
);
data
.
handle
->
result
=
data
.
func
(
data
.
data
);
data
.
func
(
data
.
data
);
return
0
;
return
0
;
}
}
...
@@ -505,8 +505,7 @@ void vlc_join (vlc_thread_t handle, void **result)
...
@@ -505,8 +505,7 @@ void vlc_join (vlc_thread_t handle, void **result)
==
WAIT_IO_COMPLETION
);
==
WAIT_IO_COMPLETION
);
CloseHandle
(
handle
->
handle
);
CloseHandle
(
handle
->
handle
);
if
(
result
)
assert
(
result
==
NULL
);
/* <- FIXME if ever needed */
*
result
=
handle
->
result
;
#ifdef UNDER_CE
#ifdef UNDER_CE
CloseHandle
(
handle
->
cancel_event
);
CloseHandle
(
handle
->
cancel_event
);
#endif
#endif
...
...
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