If one process uses OS_THREAD_CREATE to spawn two threads using the same thread entry function, the build will fail with redefinition of symbol. This is due to the fact that variable which holds thread information has its name based just on process and thread entrypoint function name.
Adding counter into symbol creation process shall fix this problem.
If one process uses
OS_THREAD_CREATEto spawn two threads using the same thread entry function, the build will fail with redefinition of symbol. This is due to the fact that variable which holds thread information has its name based just on process and thread entrypoint function name.Adding counter into symbol creation process shall fix this problem.