aboutsummaryrefslogtreecommitdiff
path: root/gcc/gthr-posix.h
AgeCommit message (Collapse)AuthorFilesLines
2001-06-28gthr-posix.h [LIBOBJC]: Add weak definitions of sched_get_priority_max, ↵Rainer Orth1-0/+2
sched_get_priority_min. * gthr-posix.h [LIBOBJC]: Add weak definitions of sched_get_priority_max, sched_get_priority_min. testsuite: * lib/objc.exp (objc_target_compile): Don't need -lposix4 on any Solaris 2.[678] system. From-SVN: r43640
2001-06-09(__gthread_objc_init_thread_system): If pthread_key_create fails, it's not ↵Nicola Pero1-2/+2
clear what the return value is. (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is. This obvious fix makes sure it always returns -1 if a problem occurs. From-SVN: r43091
2001-06-07gthr-posix.h (__gthread_objc_thread_detach): Simply cast pthread_t to ↵Rainer Orth1-8/+4
objc_thread_t. * gthr-posix.h (__gthread_objc_thread_detach): Simply cast pthread_t to objc_thread_t. (__gthread_objc_thread_id): Likewise. From-SVN: r42974
2001-05-30gthr-posix.h (__gthread_active_ptr): Cast function pointer to target type to ↵Loren J. Rittle1-1/+1
allow ISO C++ compiler to accept it. * gthr-posix.h (__gthread_active_ptr): Cast function pointer 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. Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca> From-SVN: r42725
2001-05-25Standardize header guards.Richard Henderson1-3/+3
From-SVN: r42615
2001-05-15* gthr-posix.h: Make additional pthread-* functions weak.Loren J. Rittle1-0/+5
From-SVN: r42107
2000-08-15Conditionally include <sched.h>; include <config.h> from libobjc/.Ovidiu Predescu1-0/+7
From-SVN: r35695
2000-08-11Reverted the check for <sched.h>.Ovidiu Predescu1-6/+0
From-SVN: r35620
2000-08-10Include auto-host.h. Conditionally include <sched.h>.Ovidiu Predescu1-0/+6
From-SVN: r35599
2000-08-06Integrated Chris Ball's <cball@fmco.com> changes to improve the PosixOvidiu Predescu1-9/+60
thread support for Objective-C. From-SVN: r35533
2000-07-20Applied H.J.Lu's patch to not require -lpthread when compiling single ↵H.J. Lu1-11/+304
threaded Objective-C programs. From-SVN: r35141
2000-05-04bb-reorder.c (get_next_bb_note, [...]): Prototype.Kaveh R. Ghazi1-10/+10
* bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype. * diagnostic (vbuild_message_string, build_message_string, build_location_prefix, output_get_prefix, init_output_buffer, output_notice, vline_wrapper_message_with_location, v_message_with_decl, default_print_error_function): De-constify. (set_real_maximum_length): Prototype. * diagnostic.h (struct output_buffer, init_output_buffer, output_get_prefix, output_set_prefix): De-constify. * function.c (init_function_start): Constify. * gensupport.c (remove_constraints, process_rtx): Prototype. * gthr-posix.h: Indent uses of #pragma. * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table): Prototype. * predict.c (find_expected_value): Delete prototype. (expected_value_to_br_prob): Initialize variable `ev_reg'. * sbitmap.h (debug_sbitmap): Prototype. * ssa.c (compute_coalesced_reg_partition): Prototype. * stor-layout.c (debug_rli): Prototype. * tree.h (round_down): Prototype. (init_function_start): Constify. ch: * ch-tree.h (init_function_start): Constify. From-SVN: r33675
2000-02-12crtstuff.c (__do_global_ctors_aux, [...]): Add prototype argument.Kaveh R. Ghazi1-3/+3
* crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor, __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. From-SVN: r31945
2000-01-27gthr-posix.h: Fix typo; compatibily -> compatibility.Fred Fish1-1/+1
* gthr-posix.h: Fix typo; compatibily -> compatibility. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. * gthr.h: Likewise. From-SVN: r31646
1997-12-24Makefile.in (GTHREAD_FLAGS): New var.Teemu Torma1-0/+147
* Makefile.in (GTHREAD_FLAGS): New var. (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. From-SVN: r17235