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
4f8e40a8
Commit
4f8e40a8
authored
Sep 15, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Same here
parent
37c50bf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
include/vlc_threads_funcs.h
include/vlc_threads_funcs.h
+5
-1
No files found.
include/vlc_threads_funcs.h
View file @
4f8e40a8
...
@@ -507,7 +507,11 @@ static inline int __vlc_cond_wait( const char * psz_file, int i_line,
...
@@ -507,7 +507,11 @@ static inline int __vlc_cond_wait( const char * psz_file, int i_line,
/* In debug mode, timeout */
/* In debug mode, timeout */
struct
timespec
timeout
;
struct
timespec
timeout
;
clock_gettime
(
CLOCK_MONOTONIC
,
&
timeout
);
# if (_POSIX_CLOCK_MONOTONIC - 0 >= 0)
if
(
clock_gettime
(
CLOCK_MONOTONIC
,
&
timeout
)
)
# endif
clock_gettime
(
CLOCK_REALTIME
,
&
timeout
);
timeout
.
tv_sec
+=
THREAD_COND_TIMEOUT
;
timeout
.
tv_sec
+=
THREAD_COND_TIMEOUT
;
i_result
=
pthread_cond_timedwait
(
&
p_condvar
->
cond
,
&
p_mutex
->
mutex
,
i_result
=
pthread_cond_timedwait
(
&
p_condvar
->
cond
,
&
p_mutex
->
mutex
,
...
...
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