Merge nanoos
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright 2022 Oleg Borodin <borodin@unix7.org>
|
||||
*/
|
||||
|
||||
#ifndef SEMOPER_H_QWERTY
|
||||
#define SEMOPER_H_QWERTY
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user