Move pthread into TCB.

This commit is contained in:
4lDO2
2024-05-01 13:40:50 +02:00
parent 326c8a6231
commit 6e86e64fdf
3 changed files with 48 additions and 62 deletions
+1
View File
@@ -8,6 +8,7 @@ use super::*;
/// An unsafe "one thread to one thread" synchronization primitive. Used for and modeled after
/// pthread_join only, at the moment.
#[derive(Debug)]
pub struct Waitval<T> {
state: AtomicUint,
value: UnsafeCell<MaybeUninit<T>>,