From 0c0361235ca7d4f5be0f88fe9b03afcf6a3cb8c6 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 13 Jan 2020 20:05:08 +0000 Subject: htl: Add support for C11 threads behavior Essentially properly calling the thread function which returns an int instead of a void*. Reviewed-by: Adhemerval Zanella --- htl/pt-internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'htl/pt-internal.h') diff --git a/htl/pt-internal.h b/htl/pt-internal.h index 274223cfe1..9147b87740 100644 --- a/htl/pt-internal.h +++ b/htl/pt-internal.h @@ -100,6 +100,9 @@ struct __pthread /* Resolver state. */ struct __res_state res_state; + /* Indicates whether is a C11 thread created by thrd_creat. */ + bool c11; + /* Thread context. */ struct pthread_mcontext mcontext; -- cgit 1.4.1