define TASKQID_INVALID as (taskq_id)0
We do have taskqid_t taskq_dispatch() and the result of this function is compared with 0, NULL and combined with type casts. Define TASKQID_INVALID (taskq_id)0 and use TASKQID_INVALID everywhere.
Updated by Electric Monk 11 months ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
commit fc8ae2ec4282de7ec96f48e11078345f3dc0ac3d Author: Toomas Soome <firstname.lastname@example.org> Date: 2019-03-28T14:47:03.000Z 10573 define TASKQID_INVALID as (taskq_id)0 Reviewed by: Andy Stormont <email@example.com> Reviewed by: Gergő Doma <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>