On 26/11/20 17:10 +, Jonathan Wakely wrote:
On 26/11/20 16:25 +, Jonathan Wakely wrote:
+# Return 1 if futex syscall is available
+proc check_effective_target_gthreads { } {
+return [check_v3_target_gthreads_timed]
Oops, I've just noticed the comment is wrong and this calls the wro
On 26/11/20 16:25 +, Jonathan Wakely wrote:
+# Return 1 if futex syscall is available
+proc check_effective_target_gthreads { } {
+return [check_v3_target_gthreads_timed]
Oops, I've just noticed the comment is wrong and this calls the wrong
proc. It should be check_v3_target_gthreads no
This adds a new "futex" effective-target keyword that can be used to
selectively enable/disable tests based on _GLIBCXX_HAVE_LINUX_FUTEX,
instead of checking for that macro in the code.
It also adds "gthreads" as another one, to make the result of the
dg-require-gthreads directive usable in target