Open FerdinandSpitzschnueffler opened 2 years ago
We need a POSIX wrapper for pthreads to get rid of exceptions and undefined behavior. For posix platforms the wrapper shall support:
pthreads
std::jthread
Optionally, it would be awesome when it supports
std::thread
setThreadName
getThreadName
@FerdinandSpitzschnueffler since we cannot use the heap I think setting the stack address is more of a must have than a nice to have.
Brief feature description
We need a POSIX wrapper for
pthreads
to get rid of exceptions and undefined behavior. For posix platforms the wrapper shall support:std::jthread
https://en.cppreference.com/w/cpp/thread/jthreadOptionally, it would be awesome when it supports
Tasks
std::thread
occurrencessetThreadName
andgetThreadName
Design considerations