configure.in: Add rtems as a supported thread model.
* configure.in: Add rtems as a supported thread model. * gthr-rtems.h: Add missing entry point __gthread_active_p. * configure: Rebuilt. From-SVN: r44324
This commit is contained in:
parent
cfe5dc317f
commit
e08f13ee31
4 changed files with 317 additions and 315 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-07-24 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* configure.in: Add rtems as a supported thread model.
|
||||
* gthr-rtems.h: Add missing entry point __gthread_active_p.
|
||||
* configure: Rebuilt.
|
||||
|
||||
2001-07-24 Lars Brinkhoff <lars@nocrew.org>
|
||||
|
||||
* stor-layout.c (get_mode_alignment): make it work when
|
||||
|
|
617
gcc/configure
vendored
617
gcc/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -289,7 +289,7 @@ case x${enable_threads_flag} in
|
|||
target_thread_file=''
|
||||
;;
|
||||
xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
|
||||
xsolaris | xwin32 | xdce | xvxworks | xaix)
|
||||
xsolaris | xwin32 | xdce | xrtems| xvxworks | xaix)
|
||||
target_thread_file=$enable_threads_flag
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -62,6 +62,13 @@ extern int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex);
|
|||
extern int rtems_gxx_mutex_unlock (__gthread_mutex_t *mutex);
|
||||
|
||||
|
||||
/* RTEMS threading is always active */
|
||||
static inline int
|
||||
__gthread_active_p (void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Wrapper calls */
|
||||
static inline int
|
||||
__gthread_once (__gthread_once_t *once, void (*func) ())
|
||||
|
|
Loading…
Add table
Reference in a new issue