walnux/sched/wqueue
Kian Karas fa841237dc sched/wqueue: fix work_notifier_setup() false failure
Be consistent with the datatype used for the 'key'. As the API in
in the .h file uses int, I chose to replace uint32_t with int
everywhere.

This change ensures that work_notifier_setup() will not return a
negative value indicating error to the caller, when in fact the
notifier was correctly setup. This would happen when
work_notifier_setup() had been called 0x8000000 times, and that
many keys allocated.
2024-11-04 18:18:04 +08:00
..
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
kwork_cancel.c wqueue: extend the work_cancel_sync() return value 2024-09-17 02:56:39 +08:00
kwork_inherit.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
kwork_notifier.c sched/wqueue: fix work_notifier_setup() false failure 2024-11-04 18:18:04 +08:00
kwork_queue.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
kwork_thread.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wqueue.h sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00