[PATCH v4 0/2] fix race in rte_thread_create failure path

2023-03-15 Thread Tyler Retzlaff
v4: * refactor patch to use pthread_cond_t to wait for thread start wrapper to complete work. * rename some variables to group those that are part of the wrapper synchronization. * use stack instead of heap allocation for thread start context. v3: * don't free wrapper context from

[PATCH v4 0/2] fix race in rte_thread_create failure path

2023-03-14 Thread Tyler Retzlaff
v4: * style fixes reported by CI v3: * don't free wrapper context from new thread now that wrapper completion is complete before returning from creating thread. v2: * new approach over v1 of the patch to avoid using pthread np API that is not available on Alpine Linux. * to confor