mirror of
https://github.com/apache/nuttx.git
synced 2026-06-11 21:53:37 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user