Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4f407b68
Commit
4f407b68
authored
Sep 08, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code (vlc_object_timedwait)
parent
eaddfc0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
21 deletions
+0
-21
include/vlc_objects.h
include/vlc_objects.h
+0
-4
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/misc/objects.c
src/misc/objects.c
+0
-16
No files found.
include/vlc_objects.h
View file @
4f407b68
...
...
@@ -137,10 +137,6 @@ VLC_EXPORT( void, __vlc_object_wait, ( vlc_object_t * ) );
#define vlc_object_wait( obj ) \
__vlc_object_wait( VLC_OBJECT( obj ) )
VLC_EXPORT
(
int
,
__vlc_object_timedwait
,
(
vlc_object_t
*
,
mtime_t
)
);
#define vlc_object_timedwait( obj, d ) \
__vlc_object_timedwait( VLC_OBJECT( obj ), check_deadline(d) )
VLC_EXPORT
(
void
,
__vlc_object_signal_unlocked
,
(
vlc_object_t
*
)
);
#define vlc_object_signal_unlocked( obj ) \
__vlc_object_signal_unlocked( VLC_OBJECT( obj ) )
...
...
src/libvlccore.sym
View file @
4f407b68
...
...
@@ -482,7 +482,6 @@ __vlc_object_lock
__vlc_object_release
__vlc_object_set_destructor
__vlc_object_signal_unlocked
__vlc_object_timedwait
__vlc_object_unlock
__vlc_object_wait
__vlc_object_waitpipe
...
...
src/misc/objects.c
View file @
4f407b68
...
...
@@ -481,22 +481,6 @@ void __vlc_object_wait( vlc_object_t *obj )
}
/**
* Same as vlc_object_wait(), with an additional time-out.
*
* @param deadline <b>absolute</b> time-out (using the same clock as mdate())
*
* @return 0 if the object was signaled before the timer expiration, or
* ETIMEDOUT if the timer expired without any signal.
*/
int
__vlc_object_timedwait
(
vlc_object_t
*
obj
,
mtime_t
deadline
)
{
vlc_object_internals_t
*
priv
=
vlc_internals
(
obj
);
vlc_assert_locked
(
&
priv
->
lock
);
return
vlc_cond_timedwait
(
&
priv
->
wait
,
&
priv
->
lock
,
deadline
);
}
/**
* Wakes up one thread waiting on the object. If no thread are (yet) waiting,
* nothing happens.
...
...
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