Skip to content

Commit

Permalink
sim: add NXSYMBOLS pthread_gettid_np pthread_self
Browse files Browse the repository at this point in the history
reason:
enable sim:smp can boot

This commit fixes the regression from apache#12561

Signed-off-by: hujun5 <[email protected]>
  • Loading branch information
hujun260 committed Sep 30, 2024
1 parent ba5091d commit c079844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sim/src/nuttx-names.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit c079844

Please sign in to comment.