summaryrefslogtreecommitdiff
path: root/gcc/gthr-solaris.h
Commit message (Collapse)AuthorAgeFilesLines
* * gthr-posix.h (__gthread_active_ptr): Cast function pointerljrittle2001-05-301-1/+1
| | | | | | | | | to target type to allow ISO C++ compiler to accept it. * gthr-dce.h (__gthread_active_ptr): Likewise. * gthr-solaris.h (__gthread_active_ptr): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42725 138bc75d-0d04-0410-961f-82ee72b054a4
* Standardize header guards.rth2001-05-261-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42615 138bc75d-0d04-0410-961f-82ee72b054a4
* Applied H.J.Lu's patch to not require -lpthread when compiling single ↵ovidiu2000-07-201-2/+305
| | | | | | threaded Objective-C programs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35141 138bc75d-0d04-0410-961f-82ee72b054a4
* * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,ghazi2000-02-121-3/+3
| | | | | | | | | | | | | | | | | __dereg_frame_dtor): Add prototype argument. * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise. * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise. * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise. * gthr-vxworks.h (__gthread_once): Likewise. * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31945 138bc75d-0d04-0410-961f-82ee72b054a4
* * gthr-posix.h: Fix typo; compatibily -> compatibility.rth2000-01-271-1/+1
| | | | | | | | | | | * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. * gthr.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31646 138bc75d-0d04-0410-961f-82ee72b054a4
* Patch from Teemu Torma to fix Solaris 2.6 EH failures.wilson1998-03-111-7/+5
| | | | | | | | | | | | | * gthr.h: Changed the comment about return values. * gthr-solaris.h (__gthread_once): Do not use errno; return the error number instead of -1. (__gthread_key_create): Any non-zero return value is an error. * libgcc2.c (eh_context_initialize): Check for non-zero return value from __gthread_once. Check that the value of get_eh_context was really changed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18480 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (GTHREAD_FLAGS): New var.law1997-12-241-0/+179
(LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS). (distclean): Remove gthr-default.h. * configure.in: Accept dce as a thread package. Check for thread.h and pthread.h. Link gthr-default.h to appropriate thread file and set gthread_flags. (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and include multilib definitions from pa/t-dce-thr. (sparc-*-solaris2*): Enable threads by default, if thread.h or pthread.h is found, preferring posix threads over solaris ones. * config/pa/t-dce-thr: New file. * config/pa/t-pa: Removed multilibs. * config/sparc/t-sol2: Ditto. * gthr.h: New file. * gthr-single.h: New file. * gthr-posix.h: New file. * gthr-solaris.h: New file. * gthr-dce.h: New file. * libgcc-thr.h: Removed. * objc/thr-dce.c: New file copied from thr-decosf1.c. * frame.c: Include gthr.h instead of libgcc-thr.h. * libgcc2.c: Include gthr.h instead of libgcc-thr.h. (eh_context_initialize): If __gthread_once fails, use static eh context. (eh_context_free): Call __gthread_key_dtor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17235 138bc75d-0d04-0410-961f-82ee72b054a4