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
5ee99227
Commit
5ee99227
authored
Oct 07, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_mtime.h : add timer limits for FreeBSD
Add some comments to explain the values
parent
c2008595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
include/vlc_mtime.h
include/vlc_mtime.h
+8
-3
No files found.
include/vlc_mtime.h
View file @
5ee99227
...
@@ -68,9 +68,14 @@ VLC_EXPORT( void, mwait, ( mtime_t date ) );
...
@@ -68,9 +68,14 @@ VLC_EXPORT( void, mwait, ( mtime_t date ) );
VLC_EXPORT
(
void
,
msleep
,
(
mtime_t
delay
)
);
VLC_EXPORT
(
void
,
msleep
,
(
mtime_t
delay
)
);
VLC_EXPORT
(
char
*
,
secstotimestr
,
(
char
*
psz_buffer
,
int
secs
)
);
VLC_EXPORT
(
char
*
,
secstotimestr
,
(
char
*
psz_buffer
,
int
secs
)
);
#if defined (__GNUC__) && defined (__linux__)
#if (defined (__GNUC__) && defined (__linux__)) || defined (__FreeBSD__)
# define VLC_HARD_MIN_SLEEP 10000
/* Linux has 100, 250, 300 or 1000Hz */
/* Linux has 100, 250, 300 or 1000Hz
# define VLC_SOFT_MIN_SLEEP 9000000
*
* HZ=100 by default on FreeBSD, but some architectures use a 1000Hz timer
*/
# define VLC_HARD_MIN_SLEEP 10000
/* 10 milliseconds = 1 tick at 100Hz */
# define VLC_SOFT_MIN_SLEEP 9000000
/* 9 seconds */
#endif
static
static
__attribute__
((
unused
))
__attribute__
((
unused
))
...
...
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