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
2f2ec59d
Commit
2f2ec59d
authored
Sep 15, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another attempt at fixing MacOS build
parent
649f40ae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
include/vlc_common.h
include/vlc_common.h
+1
-1
include/vlc_threads_funcs.h
include/vlc_threads_funcs.h
+4
-8
No files found.
include/vlc_common.h
View file @
2f2ec59d
...
...
@@ -1226,8 +1226,8 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
#include "vlc_messages.h"
#include "vlc_variables.h"
#include "vlc_objects.h"
#include "vlc_threads_funcs.h"
#include "vlc_mtime.h"
#include "vlc_threads_funcs.h"
#include "vlc_modules.h"
#include "main.h"
#include "vlc_configuration.h"
...
...
include/vlc_threads_funcs.h
View file @
2f2ec59d
...
...
@@ -505,14 +505,10 @@ static inline int __vlc_cond_wait( const char * psz_file, int i_line,
# ifdef DEBUG
/* In debug mode, timeout */
struct
timespec
timeout
;
# if defined (_POSIX_CLOCK_MONOTONIC) && (_POSIX_CLOCK_MONOTONIC >= 0)
if
(
clock_gettime
(
CLOCK_MONOTONIC
,
&
timeout
)
)
# endif
clock_gettime
(
CLOCK_REALTIME
,
&
timeout
);
timeout
.
tv_sec
+=
THREAD_COND_TIMEOUT
;
struct
timespec
timeout
=
{
(
mdate
()
/
1000000
)
+
THREAD_COND_TIMEOUT
,
0
/* 1Hz precision is sufficient here :-) */
};
i_result
=
pthread_cond_timedwait
(
&
p_condvar
->
cond
,
&
p_mutex
->
mutex
,
&
timeout
);
...
...
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