save works
This commit is contained in:
parent
47fc32b02c
commit
43dc12a36c
19 changed files with 80 additions and 72 deletions
|
|
@ -4,6 +4,18 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(__has_c_attribute) && __has_c_attribute(gnu::constructor)
|
||||
#define CONSTRUCTOR(prio) [[gnu::constructor(prio)]]
|
||||
#define DESTRUCTOR(prio) [[gnu::destructor(prio)]]
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
#define CONSTRUCTOR(prio) __attribute__((constructor(prio)))
|
||||
#define DESTRUCTOR(prio) __attribute__((destructor(prio)))
|
||||
#else
|
||||
#define CONSTRUCTOR(prio)
|
||||
#define DESTRUCTOR(prio)
|
||||
#warning "No constructor support found"
|
||||
#endif
|
||||
|
||||
typedef uint64_t jobid_t;
|
||||
|
||||
#define BUG_EMAIL "rshen@shenrs.eu"
|
||||
|
|
|
|||
|
|
@ -102,8 +102,6 @@ typedef struct {
|
|||
int myidx;
|
||||
int master;
|
||||
int ncontrollers;
|
||||
int n_shared_res;
|
||||
int n_host_res;
|
||||
delaymgr_t delaymgr;
|
||||
scheduler_t sched;
|
||||
var jobmgr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue