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
00af55a2
Commit
00af55a2
authored
Jun 14, 1999
by
Bryce McKinlay
Committed by
Bryce McKinlay
Jun 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* posix-threads.cc (_Jv_CondWait): Fix currentTimeMillis() overflow.
From-SVN: r27524
parent
8576f094
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
libjava/ChangeLog
+6
-1
libjava/posix-threads.cc
+5
-6
No files found.
libjava/ChangeLog
View file @
00af55a2
1999-06-14 Bryce McKinlay <bryce@albatross.co.nz>
* posix-threads.cc (_Jv_CondWait): Fix currentTimeMillis() overflow.
1999-06-11 Warren Levy <warrenl@cygnus.com>
1999-06-11 Warren Levy <warrenl@cygnus.com>
* mauve-libgcj: Activated java.net Mauve tests.
* mauve-libgcj: Activated java.net Mauve tests.
1999-06-10 Bryce McKinlay <bryce@albatross.co.nz>
1999-06-10 Bryce McKinlay <bryce@albatross.co.nz>
* java/net/natInetAddress.cc (aton): Fix typos.
* java/net/natInetAddress.cc (aton): Fix typos.
(lookup): Use a bigger buffer size for gethostbyname_r on all
(lookup): Use a bigger buffer size for gethostbyname_r on all
versions of glibc. Updated FIXME comment explaining this.
versions of glibc. Updated FIXME comment explaining this.
...
@@ -22,7 +27,7 @@
...
@@ -22,7 +27,7 @@
* java/text/DecimalFormat.java: Throw IllegalArgumentException
* java/text/DecimalFormat.java: Throw IllegalArgumentException
throughout rather than ParseException.
throughout rather than ParseException.
1999-06-09 Bryce McKinlay <bryce@albatross.co.nz>
1999-06-09 Bryce McKinlay
<bryce@albatross.co.nz>
* java/lang/Runtime.java (exec): Convert prog name and arguments
* java/lang/Runtime.java (exec): Convert prog name and arguments
to string array.
to string array.
...
...
libjava/posix-threads.cc
View file @
00af55a2
...
@@ -85,12 +85,11 @@ _Jv_CondWait (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu,
...
@@ -85,12 +85,11 @@ _Jv_CondWait (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu,
r
=
pthread_cond_wait
(
cv
,
pmu
);
r
=
pthread_cond_wait
(
cv
,
pmu
);
else
else
{
{
struct
timespec
ts
;
struct
timespec
ts
;
unsigned
long
m
=
millis
+
java
::
lang
::
System
::
currentTimeMillis
();
jlong
m
=
millis
+
java
::
lang
::
System
::
currentTimeMillis
();
ts
.
tv_sec
=
m
/
1000
;
ts
.
tv_sec
=
m
/
1000
;
ts
.
tv_nsec
=
((
m
%
1000
)
*
1000000
)
+
nanos
;
ts
.
tv_nsec
=
(
m
%
1000
)
*
1000
*
1000
+
nanos
;
r
=
pthread_cond_timedwait
(
cv
,
pmu
,
&
ts
);
r
=
pthread_cond_timedwait
(
cv
,
pmu
,
&
ts
);
}
}
return
r
;
return
r
;
...
...
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