Commit e14e29a6 authored by Alberto Miranda's avatar Alberto Miranda
Browse files

Remove task descriptors when tasks complete

Calling norns(ctl)?_error() to query the status of a running task will
release its descriptor in the server if the task already completed
(NORNS_EFINISHED or NORNS_EFINISHEDWERROR). Since norns(ctl)?_wait()
internally queries the task status to check whether a task has
completed, we cache the retrieved task_status into the iotask_t user
descriptor so that it can be retrieved by a subsequent
norns(ctl)?_error() call.
parent db83cc35
Pipeline #258 passed with stages
in 25 minutes and 36 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment