Skip to content
Commit ce054404 authored by Christopher Friedt's avatar Christopher Friedt Committed by Stephanos Ioannidis
Browse files

posix: use uint32_t instead of void* for pthread_t



Several other widely-used pthread implementations
abstract `pthread_t` as `uint32_t`. The benefit
there is that we avoid passing around a pointer to
an internal structure (implementation detail).

Additionally, this removes the alias from `k_tid_t`
to `pthread_t` inside of `struct pthread_mutex`.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
parent 3a3cfbb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment