X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=client%2Ftask.h;h=a6c02b7a66be7bf2559d2d8d3a56ec1a4d838797;hb=c518754bec4758cce7d899463f9c68612c3bf4e4;hp=0ea1b99f5b797cd3dc13bf3b24803b0347a4f6b0;hpb=55afb005ced3bba3813163596cdc7288a318a3c2;p=mTask.git diff --git a/client/task.h b/client/task.h index 0ea1b99..a6c02b7 100644 --- a/client/task.h +++ b/client/task.h @@ -1,7 +1,6 @@ #ifndef TASK_H #define TASK_H -#define MAXTASKS 5 #define MAXTASKSIZE 1024 #include @@ -15,6 +14,9 @@ struct task { bool used; }; +bool is_interrupt_task(struct task* t); +bool had_interrupt(struct task* t); + void task_init(void); void task_register(void); void task_delete(void);