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
8cb9ab4b
Commit
8cb9ab4b
authored
Nov 18, 1999
by
Tom Tromey
Committed by
Tom Tromey
Nov 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* no-threads.cc (_Jv_ThreadStart): Use JvFail and not JvAssert.
From-SVN: r30569
parent
5b8c39e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
libjava/ChangeLog
+2
-0
libjava/no-threads.cc
+4
-1
No files found.
libjava/ChangeLog
View file @
8cb9ab4b
1999-11-18 Tom Tromey <tromey@cygnus.com>
* no-threads.cc (_Jv_ThreadStart): Use JvFail and not JvAssert.
* java/lang/natClass.cc (MCACHE_SIZE): Define as a power of 2
minus 1.
(method_cache): Made larger.
...
...
libjava/no-threads.cc
View file @
8cb9ab4b
...
...
@@ -20,7 +20,10 @@ void
_Jv_ThreadStart
(
java
::
lang
::
Thread
*
thread
,
_Jv_Thread_t
*
,
_Jv_ThreadStartFunc
*
meth
)
{
JvAssert
(
!
_Jv_OnlyThread
);
// Don't use JvAssert, since we want this to fail even when compiled
// without assertions.
if
(
_Jv_OnlyThread
)
JvFail
(
"only thread already running"
);
_Jv_OnlyThread
=
thread
;
(
*
meth
)
(
thread
);
}
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