moving stuff around 2

This commit is contained in:
2017-12-16 17:04:56 +01:00
parent 90677f2361
commit 72de0705c4
2 changed files with 3 additions and 3 deletions
+32
View File
@@ -0,0 +1,32 @@
//
// Created by MightyPork on 2017/11/21.
//
#ifndef GEX_SCHED_QUEUE_H
#define GEX_SCHED_QUEUE_H
#include <TinyFrame/TinyFrame.h>
typedef struct sched_que_item Job;
typedef void (*ScheduledJobCb) (Job *job);
struct sched_que_item {
ScheduledJobCb cb;
union {
TF_ID frame_id;
void *data1;
};
union {
uint32_t d32;
uint8_t *buf;
const uint8_t *cbuf;
const char *str;
void *data2;
};
union {
uint32_t len;
void *data3;
};
};
#endif //GEX_SCHED_QUEUE_H