linD026
148fb013ee
Avoid unexpected concurrent access ( #94 )
...
In file {chardev,chardev2,sleep}.c, the variable to determine
the exclusive access was of integer type, which led to race
condition.
This patch rewrote the above with atomic CAS respectively
to eliminate the race.
Close #93
2021-09-07 23:42:06 +08:00
..
2021-09-02 16:26:29 +08:00
2021-09-02 15:15:07 +08:00
2021-09-04 17:53:29 +08:00
2021-09-07 23:42:06 +08:00
2021-09-07 23:42:06 +08:00
2021-09-02 15:15:07 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00
2021-09-02 15:15:07 +08:00
2021-09-02 15:15:07 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00
2021-08-16 21:53:22 +02:00
2021-09-02 15:15:07 +08:00
2021-09-02 15:15:07 +08:00
2021-09-02 15:15:07 +08:00
2021-09-02 15:15:07 +08:00
2021-09-02 15:15:07 +08:00
2021-09-02 15:15:07 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00
2021-09-02 16:26:29 +08:00
2021-09-02 15:15:07 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00
2021-09-02 15:15:07 +08:00
2021-09-02 15:15:07 +08:00
2021-09-07 23:42:06 +08:00
2021-08-08 01:24:59 +08:00
2021-09-04 17:53:29 +08:00
2021-09-04 17:53:29 +08:00