Go to file
Bryce McKinlay b834f1fa06 Makefile.in: New #defines and friends for Thread.h.
* Makefile.in: New #defines and friends for Thread.h.
        * posix-threads.cc: (struct starter): Remove `object'.
        (_Jv_CondWait): Use interruptable condition variables and new
        recursive mutexes. New return codes on interrupt or non-ownership
        of mutex.
        (_Jv_CondNotify): Ditto.
        (_Jv_CondNotifyAll): Ditto.
        (_Jv_ThreadInterrupt): Set thread interrupt flag directly. Interrupt
        the target thread by signaling its wait condition.
        (_Jv_ThreadInitData): Set `thread_obj' in the thread data struct,
        not the starter struct. Initialize wait_mutex and wait_cond.
        (_Jv_MutexLock): New recursive mutex implementation. Moved from
        posix-threads.h.
        (_Jv_MutexUnlock): Ditto.
        (really_start): Set info->data->thread from pthread_self() to work
        around a race condition. Destroy wait_mutex and wait_cond when run()
        returns.
        * java/lang/Thread.java: (isInterrupted_): Renamed to overloaded
        `isInterrupted(boolean)'. Clear interrupted flag if clear_flag is
        set.
        startable_flag: New private field.
        (Thread): Initialize `startable_flag'.
        (toString): Check for null thread group.
        * java/lang/natThread.cc: (struct natThread): New fields
        `join_mutex', `join_cond'. Removed fields `joiner', `next'.
        (class locker): Removed.
        (initialize_native): Initialize `join_cond' and `join_mutex'.
        (interrupt): Now just calls _Jv_ThreadInterrupt().
        (join): Simplified. Just wait on the target thread's join condition.
        (finish_): Remove join list code. Unset thread group. Signal
        potential joiners by notifying the dying threads join_cond.
        (start): Check for illegal restarts.
        * java/lang/natObject.cc: Check for return value of _Jv_CondWait and
        act appropriatly.
        * include/posix-threads.h: Remove all HAVE_RECURSIVE_MUTEX related
        #defines and #ifdefs.
        (struct _Jv_Thread_t): New fields `thread_obj', `wait_cond',
        `wait_mutex', `next'.
        (struct _Jv_ConditionVariable_t): Define as a struct instead of
        directly mapping to pthread_cond_t.
        (struct _Jv_Mutex_t): New recursive implementation.
        (_Jv_PthreadCheckMonitor): Reimplemented. Simple `owner' check.
        _Jv_HaveCondDestroy: Never define this for posix-threads.
        (_Jv_CondNotify): Remove inline implementation(s), prototype instead.
        (_Jv_CondNotifyAll): Ditto.
        (_Jv_MutexLock): Ditto.
        (_Jv_MutexUnlock): Ditto.
        (_Jv_MutexInit): Changed to reflect new mutex implementation.
        (_Jv_MutexDestroy): Ditto.
        (_Jv_CondDestroy): Removed.
        (_Jv_PthreadGetMutex): Removed.
        * include/win32-threads.h: (_Jv_CondNotify): Guess _JV_NOT_OWNER on an
        error. Add a FIXME about this.
        (_Jv_CondNotifyAll): Ditto.
        * win32-threads.cc: (_Jv_CondWait): Return 0 on a timeout. Guess
        _JV_NOT_OWNER on other errors. Add FIXME.

From-SVN: r32773
2000-03-28 03:22:24 +01:00
boehm-gc gc.h (dlopen): Define as GC_dlopen on Linux. 2000-02-14 21:53:27 +00:00
config Add support for sh-pe and arm-wince-pe targets. 2000-02-23 01:25:56 +00:00
contrib newcvsroot: Add check on the number of command-line arguments. 1999-12-18 14:34:56 +00:00
etc
gcc resource.h (mark_resource_type): New. 2000-03-27 21:50:15 +00:00
include Some cleanups/additions for hashtables 2000-03-14 18:28:45 +00:00
INSTALL
libchill Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au> 1999-10-27 01:14:18 -07:00
libf2c Daily bump. 2000-03-27 01:45:07 -07:00
libffi * Makefile.in: Hand edit for java_raw_api.lo. 2000-03-21 01:03:02 +00:00
libiberty merge from bfdland 2000-03-24 16:32:08 -05:00
libio fstream.h (ifstream::ifstream): Add ios::in to mode. 2000-01-28 09:55:33 +00:00
libjava Makefile.in: New #defines and friends for Thread.h. 2000-03-28 03:22:24 +01:00
libobjc Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS. 2000-02-23 08:43:44 +00:00
libstdc++ bastring.h (basic_string<>::push_back): Was missing. 2000-03-10 21:20:08 +00:00
texinfo
zlib configure: Rebuilt. 1999-10-04 22:08:42 +00:00
.cvsignore
ChangeLog * MAINTAINERS: Added myself for write-after-approval. 2000-03-12 17:24:42 +00:00
config-ml.in config-ml.in (sparc*-*-*): Disable sparcv9 support if the necessary libraries are missing. 1999-11-23 00:57:06 -07:00
config.guess config.guess: Synchronize with master repository. 2000-02-16 18:48:36 +00:00
config.if
config.sub Add support for an OS of "wince" 2000-02-24 21:21:31 +00:00
configure configure (gcc_version): When setting, narrow search to lines containing `version_string'. 2000-02-16 16:22:47 +00:00
configure.in Add support for sh-pe and arm-wince-pe targets. 2000-02-23 01:25:56 +00:00
COPYING
COPYING.LIB
install-sh
ltconfig
ltmain.sh
MAINTAINERS Linuxbox has changed names... 2000-03-27 17:10:52 +00:00
Makefile.in Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L library search. 2000-02-26 13:04:50 -07:00
missing
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.


Check the INSTALL directory for detailed configuration and installation
instructions.


Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.