Exec locks provides means to protect exec's lists from beeing accessed. The lock...
commitbc327eed0c09715031e280445086745fb29192e8
authorschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 26 Feb 2017 20:19:00 +0000 (26 20:19 +0000)
committerschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 26 Feb 2017 20:19:00 +0000 (26 20:19 +0000)
treee29ab240dd74e864d5132c26d8c5b800d59beb97
parent865692fffe4e4767fea81acbebd0e63c5b0d0cfb
Exec locks provides means to protect exec's lists from beeing accessed. The lock provides protection by spinlock and, if requested, by forbid/permit and/or with disable/enable combination. macros for non-smp builds provide just simple Disable()/Enable() and Forbid/Permit pairs so that there should be no speed penalty.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53920 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/exec/exec_locks.c
rom/exec/exec_locks.h [new file with mode: 0644]
rom/exec/prepareexecbase.c