Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
93
Issues
93
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
64942a41
Commit
64942a41
authored
Oct 20, 2001
by
Jack Moffitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
select first argument should be 0 when we use it for sleeping.
svn path=/trunk/timing/; revision=2191
parent
5a4f55d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/timing/timing.c
src/timing/timing.c
+6
-1
No files found.
src/timing/timing.c
View file @
64942a41
...
...
@@ -37,5 +37,10 @@ void timing_sleep(uint64_t sleeptime)
sleeper
.
tv_sec
=
0
;
sleeper
.
tv_usec
=
sleeptime
*
1000
;
select
(
1
,
NULL
,
NULL
,
NULL
,
&
sleeper
);
/* NOTE:
* This should be 0 for the first argument. The linux manpage
* says so. The solaris manpage also says this is a legal
* value. If you think differerntly, please provide references.
*/
select
(
0
,
NULL
,
NULL
,
NULL
,
&
sleeper
);
}
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