lkmpg/examples
Aykhan Hagverdili 4adbf1dd9b Fix: blocking O_NONBLOCK process bug in sleep.c
There is a subtle bug that if the atomic flag changes
between the time it was checked and the second time
it was checked, sleep.c would potentially block a
process that had specified O_NONBLOCK. This fixes
the bug by using atomic_cmpxchg instead of atomic_read.
2024-08-11 21:56:09 +02:00
..
2024-04-21 01:12:33 +08:00
2023-10-08 17:14:09 +08:00
2022-02-21 00:53:29 +08:00
2024-04-16 02:38:07 +08:00
2024-02-01 15:09:23 +08:00
2024-04-16 06:19:52 +08:00
2024-04-21 01:09:28 +08:00
2023-03-24 11:36:33 +08:00
2023-10-08 17:14:09 +08:00
2023-10-07 16:32:26 +02:00
2021-08-08 01:24:59 +08:00
2024-04-16 06:24:06 +08:00
2021-09-04 17:53:29 +08:00
2022-04-19 01:54:24 +08:00
2022-04-19 01:54:24 +08:00