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
2a4bf84c
Commit
2a4bf84c
authored
Aug 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not hide many (all?) thread function having an incorrect prototype
parent
bfeca36b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/vlc_threads.h
include/vlc_threads.h
+1
-1
src/misc/threads.c
src/misc/threads.c
+3
-3
No files found.
include/vlc_threads.h
View file @
2a4bf84c
...
...
@@ -169,7 +169,7 @@ VLC_EXPORT( int, __vlc_cond_init, ( vlc_cond_t * ) );
VLC_EXPORT
(
void
,
__vlc_cond_destroy
,
(
const
char
*
,
int
,
vlc_cond_t
*
)
);
VLC_EXPORT
(
int
,
vlc_threadvar_create
,
(
vlc_threadvar_t
*
,
void
(
*
)
(
void
*
)
)
);
VLC_EXPORT
(
void
,
vlc_threadvar_delete
,
(
vlc_threadvar_t
*
)
);
VLC_EXPORT
(
int
,
__vlc_thread_create
,
(
vlc_object_t
*
,
const
char
*
,
int
,
const
char
*
,
void
*
(
*
)
(
v
oid
*
),
int
,
bool
)
);
VLC_EXPORT
(
int
,
__vlc_thread_create
,
(
vlc_object_t
*
,
const
char
*
,
int
,
const
char
*
,
void
*
(
*
)
(
v
lc_object_t
*
),
int
,
bool
)
);
VLC_EXPORT
(
int
,
__vlc_thread_set_priority
,
(
vlc_object_t
*
,
const
char
*
,
int
,
int
)
);
VLC_EXPORT
(
void
,
__vlc_thread_join
,
(
vlc_object_t
*
,
const
char
*
,
int
)
);
...
...
src/misc/threads.c
View file @
2a4bf84c
...
...
@@ -442,7 +442,7 @@ void vlc_threadvar_delete (vlc_threadvar_t *p_tls)
struct
vlc_thread_boot
{
void
*
(
*
entry
)
(
v
oid
*
);
void
*
(
*
entry
)
(
v
lc_object_t
*
);
vlc_object_t
*
object
;
};
...
...
@@ -457,7 +457,7 @@ struct vlc_thread_boot
static
THREAD_RTYPE
thread_entry
(
void
*
data
)
{
vlc_object_t
*
obj
=
((
struct
vlc_thread_boot
*
)
data
)
->
object
;
void
*
(
*
func
)
(
v
oid
*
)
=
((
struct
vlc_thread_boot
*
)
data
)
->
entry
;
void
*
(
*
func
)
(
v
lc_object_t
*
)
=
((
struct
vlc_thread_boot
*
)
data
)
->
entry
;
free
(
data
);
#ifndef NDEBUG
...
...
@@ -486,7 +486,7 @@ static THREAD_RTYPE thread_entry (void *data)
* userland real-time priority threads.
*****************************************************************************/
int
__vlc_thread_create
(
vlc_object_t
*
p_this
,
const
char
*
psz_file
,
int
i_line
,
const
char
*
psz_name
,
void
*
(
*
func
)
(
v
oid
*
),
const
char
*
psz_name
,
void
*
(
*
func
)
(
v
lc_object_t
*
),
int
i_priority
,
bool
b_wait
)
{
int
i_ret
;
...
...
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