added atomic_dec32le0 for sem/mutex lock

This commit is contained in:
2022-08-31 10:10:35 +02:00
parent 5424edfe5e
commit d071c0957b
5 changed files with 22 additions and 7 deletions

View File

@@ -10,4 +10,6 @@
int32_t atomic_inc32(volatile int32_t *addr, int32_t value);
int32_t atomic_dec32(volatile int32_t *addr, int32_t value);
int32_t atomic_dec32le0(volatile int32_t *addr, int32_t value);
#endif