Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c1f68b0 in mainline for kernel/generic/src/synch/mutex.c

Timestamp:
2017-10-28T11:40:41Z (4 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
eca820c
Parents:
15d9fe6
Message:

Use recursive mutex to protect task_t::cap_info

This makes it possible to use the mutex-protected capability APIs even
inside caps_apply_to_kobject_type() callbacks. Now there is no need to
provide eg. cap_unpublish_locked() and cap_free_locked(). Likewise,
ipc_irq_unsubscribe() can be used when the task's cap_info is already
locked by the current thread inside of a callback.

(No files)

Note: See TracChangeset for help on using the changeset viewer.