home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !gcc / include / unixlib / bits / h / sched < prev    next >
Encoding:
Text File  |  2006-09-17  |  612 b   |  34 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /usr/local/cvsroot/gccsdk/unixlib/source/clib/sched.h,v $
  4.  * $Date: 2005/03/31 12:59:19 $
  5.  * $Revision: 1.2 $
  6.  * $State: Exp $
  7.  * $Author: nick $
  8.  *
  9.  ***************************************************************************/
  10.  
  11. #ifndef __SCHED_BITS_H
  12. #define __SCHED_BITS_H
  13.  
  14. #ifndef __UNIXLIB_FEATURES
  15. #include <features.h>
  16. #endif
  17.  
  18. __BEGIN_DECLS
  19.  
  20. #define SCHED_FIFO 0
  21. #define SCHED_RR 1
  22. #define SCHED_SPORADIC 2
  23. #define SCHED_OTHER 3
  24.  
  25. struct sched_param
  26. {
  27.   int sched_priority;
  28. };
  29.  
  30. __END_DECLS
  31.  
  32. #endif /* __SCHED_H */
  33.  
  34.