Browse Source

gcc: Add 'mcf' thread model support from mcfgthread

This patch adds the new thread model `mcf`, which implements mutexes
and condition variables with the mcfgthread library.

Source code for mcfgthread is available at <https://github.com/lhmouse/mcfgthread>.

config/
	* gthr.m4 (GCC_AC_THREAD_HEADER): Add new case for `mcf` thread
	model
gdb-14-branch
LIU Hao 3 years ago
committed by Alan Modra
parent
commit
3a712247e2
  1. 1
      config/gthr.m4

1
config/gthr.m4

@ -22,6 +22,7 @@ case $1 in
tpf) thread_header=config/s390/gthr-tpf.h ;;
vxworks) thread_header=config/gthr-vxworks.h ;;
win32) thread_header=config/i386/gthr-win32.h ;;
mcf) thread_header=config/i386/gthr-mcf.h ;;
esac
AC_SUBST(thread_header)
])

Loading…
Cancel
Save