sim: add NXSYMBOLS pthread_gettid_np pthread_self

reason:
enable sim:smp can boot

This commit fixes the regression from https://github.com/apache/nuttx/pull/12561

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5 2024-09-30 15:03:31 +08:00 committed by raiden00pl
parent 9192916a4e
commit cedcb1a674
No known key found for this signature in database
GPG Key ID: 80BDA883437A37B1

View File

@ -99,6 +99,7 @@ NXSYMBOLS(pthread_cond_init)
NXSYMBOLS(pthread_cond_signal)
NXSYMBOLS(pthread_cond_wait)
NXSYMBOLS(pthread_create)
NXSYMBOLS(pthread_gettid_np)
#if defined(CONFIG_TLS_NELEM) && CONFIG_TLS_NELEM > 0
NXSYMBOLS(pthread_getspecific)
NXSYMBOLS(pthread_key_create)
@ -111,6 +112,7 @@ NXSYMBOLS(pthread_mutex_unlock)
#if defined(CONFIG_TLS_NELEM) && CONFIG_TLS_NELEM > 0
NXSYMBOLS(pthread_setspecific)
#endif
NXSYMBOLS(pthread_self)
NXSYMBOLS(pthread_sigmask)
NXSYMBOLS(puts)
NXSYMBOLS(read)