Commit e08f13ee by Joel Sherrill Committed by Richard Henderson

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
parent cfe5dc31
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
......
......@@ -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) ())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment