lib: c: pthread: implement per-thread errno storage
This commit is contained in:
@@ -9,6 +9,7 @@ enum pthread_flags {
|
||||
|
||||
struct __pthread {
|
||||
struct __pthread *thr_self;
|
||||
int thr_errno;
|
||||
enum pthread_flags thr_flags;
|
||||
kern_handle_t thr_handle;
|
||||
void *thr_map_base;
|
||||
|
||||
Reference in New Issue
Block a user