diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-01-27 14:32:22 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2021-02-09 12:10:51 -0500 |
| commit | a9318a32871e7ae6934a7df8adf78245ccc1d140 (patch) | |
| tree | b61d80b18c85305fd29dbeccc210bf795a0f97be /tests/lib/cli/common_cli.c | |
| parent | aea25d1ec828226fa35af1b333d346883deefb28 (diff) | |
libs, bgpd: improve task cancellation by argument value
Extend the thread_cancel_event api so that it's more complete:
look in all the lists of events, including io and timers, for
matching tasks. Add a limited version of the api that only
examines tasks in the event and ready queues.
BGP appears to require the old behavior, so change its macro
to use the more limited cancel api.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'tests/lib/cli/common_cli.c')
0 files changed, 0 insertions, 0 deletions
