mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 08:53:29 +00:00
Modify asterinas/kernel/src/process/posix_thread/mod.rs
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
09204600c0
commit
54a807b5f7
@ -299,7 +299,7 @@ impl PosixThread {
|
||||
}
|
||||
}
|
||||
|
||||
static POSIX_TID_ALLOCATOR: AtomicU32 = AtomicU32::new(0);
|
||||
static POSIX_TID_ALLOCATOR: AtomicU32 = AtomicU32::new(1);
|
||||
|
||||
/// Allocates a new tid for the new posix thread
|
||||
pub fn allocate_posix_tid() -> Tid {
|
||||
|
Reference in New Issue
Block a user