Implement critical section (Lamport's Baker s algorithm)...

thanks @fincs for sample code
This commit is contained in:
TuxSH 2018-03-02 23:32:50 +01:00
parent 301b166684
commit bf63a077b1
4 changed files with 116 additions and 28 deletions

View file

@ -16,7 +16,6 @@
#define PACKED __attribute__((packed))
#define ALINLINE __attribute__((always_inline))
#define FAR_REACHING __attribute__((target("cmodel=large"), noinline))
/* Custom stuff below */