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
e06e611f
Commit
e06e611f
authored
Jul 14, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation fixes
parent
04d461bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/posix/thread.c
src/posix/thread.c
+4
-2
No files found.
src/posix/thread.c
View file @
e06e611f
...
...
@@ -134,6 +134,7 @@ static pthread_once_t vlc_clock_once = PTHREAD_ONCE_INIT;
int
nanosleep
(
struct
timespec
*
,
struct
timespec
*
);
# endif
# define vlc_clock_setup() (void)0
#endif
/* _POSIX_TIMERS */
/**
...
...
@@ -352,8 +353,9 @@ void vlc_cond_init (vlc_cond_t *p_condvar)
vlc_clock_setup
();
if
(
unlikely
(
pthread_condattr_init
(
&
attr
)))
abort
();
#if (_POSIX_CLOCK_SELECTION > 0)
pthread_condattr_setclock
(
&
attr
,
vlc_clock_id
);
#endif
if
(
unlikely
(
pthread_cond_init
(
p_condvar
,
&
attr
)))
abort
();
pthread_condattr_destroy
(
&
attr
);
...
...
@@ -956,7 +958,7 @@ mtime_t mdate (void)
if
(
unlikely
(
gettimeofday
(
&
tv
,
NULL
)
!=
0
))
abort
();
return
(
INT64_C
(
1000000
)
*
tv
.
tv_sec
)
+
tv
.
tv_
n
sec
;
return
(
INT64_C
(
1000000
)
*
tv
.
tv_sec
)
+
tv
.
tv_
u
sec
;
#endif
}
...
...
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