Commit Graph

15 Commits

Author SHA1 Message Date
jiangjianfeng 495c93c2ad Refactor Rwlock to take type parameter 2024-11-21 15:46:10 +08:00
jellllly420 21fedd1b60 Implement atomic wrapper for integer-like type 2024-09-25 14:47:37 +08:00
Ruize Tang b88c490ff7 Fix incorrect return value for semctl GETZCNT/GETNCNT 2024-09-12 21:09:57 +08:00
Marsman1996 42f3411337 Fix index out of bound when `key` of `semget` too large 2024-09-11 12:43:49 +08:00
Yuke Peng 6ce50fab1c Refactor semaphore to support atomic semop 2024-09-02 17:12:04 +08:00
Yuke Peng db16caf28c [Semaphore] Replace Mutex with SpinLock 2024-08-30 22:52:24 +08:00
Yuke Peng d88d8fd307 [Semaphore] Remove duplicate PID and time settings 2024-08-30 22:52:24 +08:00
Yuke Peng 3297976700 [Semaphore] Optimize the update_pending_ops 2024-08-30 22:52:24 +08:00
Yuke Peng a8970daec2 [Semaphore] Remove Box in pending_ops 2024-08-30 22:52:24 +08:00
Cautreoxit 86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
Yuke Peng 3cac1b2a03 Use AtomicU32 to read/write latest modified pid 2024-08-25 20:13:05 +08:00
Yuke Peng ccdf2dc54f Drop the `MutexGuard` of semaphore earlier 2024-08-25 20:13:05 +08:00
Yuke Peng 547e6430ee Pass the reference of sem_buf to semop 2024-08-25 20:13:05 +08:00
Yuke Peng 4b1f2f720e Avoid using `current` in semop 2024-08-25 20:13:05 +08:00
Zhang Junyang dafd16075f Remove the shim kernel crate 2024-08-23 23:37:50 +08:00