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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| kwork_cancel.c | ||
| kwork_inherit.c | ||
| kwork_notifier.c | ||
| kwork_queue.c | ||
| kwork_thread.c | ||
| Make.defs | ||
| wqueue.h | ||