Home
last modified time | relevance | path

Searched refs:READER_BIT (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Drwlock.rs26 const READER_BIT: u32 = 2; constant
98 const MAX_READERS: u32 = core::u32::MAX >> READER_BIT >> 1; //右移3位 in current_reader()
103 if value > MAX_READERS << READER_BIT { in current_reader()