home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lxapi32.zip / Lib32 / lxtask.c < prev    next >
C/C++ Source or Header  |  2002-04-26  |  535b  |  26 lines

  1. /* $Id: lxtask.c,v 1.2 2002/04/26 23:09:25 smilcke Exp $ */
  2.  
  3. /*
  4.  * task.c
  5.  * Autor:               Stefan Milcke
  6.  * Erstellt am:         08.11.2001
  7.  * Letzte Aenderung am: 10.11.2001
  8.  *
  9. */
  10. #include <linux/version.h>
  11. #include <linux/kernel.h>
  12. #include <linux/fs.h>
  13. #include <linux/tqueue.h>
  14. #define LINUX
  15. #include <ldefos2.h>
  16.  
  17. struct task_struct current_task = {0};
  18. struct task_struct *current = ¤t_task;
  19.  
  20. void tasklet_hi_schedule(struct tq_struct *t)
  21. {
  22.   if(t && t->routine) {
  23.     t->routine(t->data);
  24.   }
  25. }
  26.