added mem-block semaphore

This commit is contained in:
2022-08-30 19:01:21 +02:00
parent 4c67d0bba4
commit 6974c2b8e6
6 changed files with 68 additions and 18 deletions
+13
View File
@@ -0,0 +1,13 @@
/*
* Copyright 2022 Oleg Borodin <borodin@unix7.org>
*/
#ifndef SEMOPER_H_QWERTY
#define SEMOPER_H_QWERTY
#include <stdint.h>
int32_t sem_post32(volatile int32_t *addr, int32_t value);
int32_t sem_wait32(volatile int32_t *addr, int32_t value);
#endif