home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Zone / VRZONE.ISO / mac / PC / PCGLOVE / RACBALL / SOURCE / TASKS.H < prev    next >
C/C++ Source or Header  |  1992-08-18  |  687b  |  21 lines

  1. /* Functions related to the simple "multi-tasker" */
  2.  
  3. /* Written by Bernie Roehl, June 1992 */
  4.  
  5. /* Copyright 1992 by Dave Stampe and Bernie Roehl.
  6.    May be freely used to write software for release into the public domain;
  7.    all commercial endeavours MUST contact Bernie Roehl and Dave Stampe
  8.    for permission to incorporate any part of this software into their
  9.    products!
  10.  */
  11.  
  12. typedef void TASK;
  13.  
  14. extern TASK *get_current_task();
  15. extern TASK *add_task(TASK **tasklist, void (*fn)(), long period, void *param);
  16. extern void del_task(TASK **tasklist, TASK *tsk);
  17. extern void run_tasks(TASK *tasklist);
  18. extern void *find_task_data(TASK *task);
  19.  
  20. /* End of tasks.h */
  21.