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
dd15d24b
Commit
dd15d24b
authored
Aug 07, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix threaded function type.
parent
6fa6b93b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
src/playlist/thread.c
src/playlist/thread.c
+14
-8
No files found.
src/playlist/thread.c
View file @
dd15d24b
...
...
@@ -35,11 +35,11 @@
/*****************************************************************************
* Local prototypes
*****************************************************************************/
static
void
RunControlThread
(
playlis
t_t
*
);
static
void
RunPreparse
(
playlist_preparse
_t
*
);
static
void
RunFetcher
(
playlist_fetcher
_t
*
);
static
void
PreparseDestructor
(
vlc_object_t
*
);
static
void
FetcherDestructor
(
vlc_object_t
*
);
static
void
*
RunControlThread
(
vlc_objec
t_t
*
);
static
void
*
RunPreparse
(
vlc_object
_t
*
);
static
void
*
RunFetcher
(
vlc_object
_t
*
);
static
void
PreparseDestructor
(
vlc_object_t
*
);
static
void
FetcherDestructor
(
vlc_object_t
*
);
/*****************************************************************************
* Main functions for the global thread
...
...
@@ -132,8 +132,9 @@ void __playlist_ThreadCreate( vlc_object_t *p_parent )
/**
* Run the main control thread itself
*/
static
void
RunControlThread
(
playlist_t
*
p_playlist
)
static
void
*
RunControlThread
(
vlc_object_t
*
p_this
)
{
playlist_t
*
p_playlist
=
(
playlist_t
*
)
p_this
;
/* Tell above that we're ready */
vlc_thread_ready
(
p_playlist
);
...
...
@@ -164,23 +165,28 @@ static void RunControlThread ( playlist_t *p_playlist )
vlc_object_unlock
(
p_playlist
);
playlist_LastLoop
(
p_playlist
);
return
NULL
;
}
/*****************************************************************************
* Preparse-specific functions
*****************************************************************************/
static
void
RunPreparse
(
playlist_preparse_t
*
p_obj
)
static
void
*
RunPreparse
(
vlc_object_t
*
p_this
)
{
playlist_preparse_t
*
p_obj
=
(
playlist_preparse_t
*
)
p_this
;
/* Tell above that we're ready */
vlc_thread_ready
(
p_obj
);
playlist_PreparseLoop
(
p_obj
);
return
NULL
;
}
static
void
RunFetcher
(
playlist_fetcher_t
*
p_obj
)
static
void
*
RunFetcher
(
vlc_object_t
*
p_this
)
{
playlist_fetcher_t
*
p_obj
=
(
playlist_fetcher_t
*
)
p_this
;
/* Tell above that we're ready */
vlc_thread_ready
(
p_obj
);
playlist_FetcherLoop
(
p_obj
);
return
NULL
;
}
static
void
PreparseDestructor
(
vlc_object_t
*
p_this
)
...
...
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