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
This commit is contained in:
LIU Hao 2023-08-07 13:07:22 +02:00 committed by Alan Modra
parent 9f2c14223f
commit 3a712247e2

View File

@ -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)
])