Ignore:
Timestamp:
Oct 28, 2022, 2:57:20 PM (21 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
2856982c
Parents:
22a0e87
Message:

Changed to park/unpark permit/ticketing to make sure no one unparks a dead thread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/private.hfa

    r22a0e87 r28372f7  
    166166#define TICKET_RUNNING ( 0) // thread is running
    167167#define TICKET_UNBLOCK ( 1) // thread should ignore next block
     168#define TICKET_DEAD    (0xDEAD) // thread should never be unparked
    168169
    169170//-----------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.