Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
148c8e7b
Commit
148c8e7b
authored
Dec 04, 2003
by
Mohan Embar
Committed by
Mohan Embar
Dec 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gnu/java/nio/natSelectorImplPosix.cc
(implSelect): A timeout of 0 means an infinite timeout. From-SVN: r74259
parent
da63064a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
libjava/ChangeLog
+6
-0
libjava/gnu/java/nio/natSelectorImplPosix.cc
+4
-2
No files found.
libjava/ChangeLog
View file @
148c8e7b
2003
-
12
-
03
Mohan
Embar
<
gnustuff
@
thisiscool
.
com
>
*
gnu
/
java
/
nio
/
natSelectorImplPosix
.
cc
(
implSelect
):
A
timeout
of
0
means
an
infinite
timeout
.
2003
-
12
-
02
Fernando
Nasser
<
fnasser
@
redhat
.
com
>
2003
-
12
-
02
Fernando
Nasser
<
fnasser
@
redhat
.
com
>
*
gnu
/
java
/
awt
/
peer
/
gtk
/
GtkListPeer
.
java
(
handleEvent
):
Fix
generation
*
gnu
/
java
/
awt
/
peer
/
gtk
/
GtkListPeer
.
java
(
handleEvent
):
Fix
generation
...
...
libjava/gnu/java/nio/natSelectorImplPosix.cc
View file @
148c8e7b
...
@@ -57,8 +57,10 @@ gnu::java::nio::SelectorImpl::implSelect (jintArray read, jintArray write,
...
@@ -57,8 +57,10 @@ gnu::java::nio::SelectorImpl::implSelect (jintArray read, jintArray write,
real_time_data
.
tv_usec
=
timeout
;
real_time_data
.
tv_usec
=
timeout
;
// If not legal timeout value is given, use NULL.
// If not legal timeout value is given, use NULL.
// This means an infinite timeout.
// This means an infinite timeout. The specification
if
(
timeout
>=
0
)
// also says that a zero timeout should be treated
// as infinite.
if
(
timeout
>
0
)
{
{
time_data
=
&
real_time_data
;
time_data
=
&
real_time_data
;
}
}
...
...
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