Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
Loading...
Searching...
No Matches
spin/async.h
Go to the documentation of this file.
1#ifndef ASYNC_HEADER
2#define ASYNC_HEADER
3#include "core/arax_object.h"
4
5struct async_meta_s
6{
7 #ifndef __cplusplus
8 char padd;
9 #endif
10};
11
12typedef struct
13{
14 volatile size_t completed;
15}
17
18typedef struct
19{
20 volatile size_t value;
21}
23
24typedef struct
25{
27 async_semaphore_s semaphore;
29
30#include "async_api.h"
31#endif // ifndef ASYNC_HEADER