root/include/task.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef TASK_H
   2 #define TASK_H
   3 
   4 // CHDK Task interface
   5 
   6 // Note: used in modules and platform independent code. 
   7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values)
   8 
   9 extern int CreateTask (const char *name, int prio, int stack_size, void *entry);
  10 extern void ExitTask();
  11 
  12 extern void SleepTask(long msec);
  13 
  14 // extern long taskLock();
  15 // extern long taskUnlock();
  16 
  17 // extern long task_lock();
  18 // extern long task_unlock();
  19 extern const char *task_name(int id);
  20 int task_id_list_get(int *idlist,int size);
  21 
  22 #endif
  23 

/* [<][>][^][v][top][bottom][index][help] */