Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
855920e8
Commit
855920e8
authored
Jan 10, 2002
by
Leigh B. Stoller
Browse files
Minor change; If SERVER_INACTIVE_SECONDS is zero, treat that as loop
forever.
parent
7739c102
Changes
1
Hide whitespace changes
Inline
Side-by-side
os/frisbee.redux/server.c
View file @
855920e8
...
...
@@ -250,6 +250,10 @@ PlayFrisbee(void)
* spin.
*/
if
(
!
WorkQueueDequeue
(
&
chunk
,
&
startblock
,
&
blockcount
))
{
/* If zero, never exit */
if
(
!
SERVER_INACTIVE_SECONDS
)
continue
;
if
(
idlelastloop
)
{
struct
timeval
estamp
;
...
...
Write
Preview
Supports
Markdown
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