mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
libc/tls: Supports up to 64 elements
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
+3
-1
@@ -67,8 +67,10 @@
|
||||
*/
|
||||
|
||||
#if CONFIG_TLS_NELEM > 0
|
||||
# if CONFIG_TLS_NELEM > 32
|
||||
# if CONFIG_TLS_NELEM > 64
|
||||
# error Too many TLS elements
|
||||
# elif CONFIG_TLS_NELEM > 32
|
||||
typedef uint64_t tls_ndxset_t;
|
||||
# elif CONFIG_TLS_NELEM > 16
|
||||
typedef uint32_t tls_ndxset_t;
|
||||
# elif CONFIG_TLS_NELEM > 8
|
||||
|
||||
Reference in New Issue
Block a user