/[rtmk]/rtmk/thread.h
ViewVC logotype

Diff of /rtmk/thread.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by jrydberg, Fri Feb 22 22:41:48 2002 UTC revision 1.16 by jrydberg, Wed Mar 6 00:55:01 2002 UTC
# Line 22  Foundation, Inc., 59 Temple Place - Suit Line 22  Foundation, Inc., 59 Temple Place - Suit
22  #include <rtmk/vm-types.h>  #include <rtmk/vm-types.h>
23  #include <rtmk/ipc-types.h>  #include <rtmk/ipc-types.h>
24  #include <rtmk/ipc-return.h>  #include <rtmk/ipc-return.h>
25  #include <rtmk/thread-status.h>  #include <rtmk/thread-state.h>
26    
27  #include "tm.h"  #include "tm.h"
28  #include "task.h"  #include "task.h"
# Line 403  extern kern_return_t thread_suspend (str Line 403  extern kern_return_t thread_suspend (str
403    
404  /* The following four function must be implemented by MD code.  */  /* The following four function must be implemented by MD code.  */
405    
406  /* Get status information about THREAD.  What type of status is specified  /* Get state information about THREAD.  What type of state is specified
407     with FLAVOR.  Information is returned in STATUS.  */     with FLAVOR.  Information is returned in STATEBUF.  */
408    extern kern_return_t thread_state_get (struct thread *thread, int flavor,
409  extern kern_return_t thread_get_status (struct thread *thread,                                         char *statebuf, int *count);
410                                          thread_status_flavor_t flavor,  
411                                          thread_status_t status, int *count);  /* Set state information for THREAD.  What type of state is specified
412       with FLAVOR.  Information is located in STATEBUF  */
413  /* Set status information for THREAD.  What type of status is specified  extern kern_return_t thread_state_set (struct thread *thread, int flavor,
414     with FLAVOR.  Information is located in STATUS.  */                                         char *statebuf, int count);
   
 extern kern_return_t thread_set_status (struct thread *thread,  
                                         thread_status_flavor_t flavor,  
                                         thread_status_t status, int count);  
415    
416  /* Set scheduling policy for THREAD to POLICY.  Scheduling priority specified  /* Set scheduling policy for THREAD to POLICY.  Scheduling priority specified
417     with PRIORITY.  */     with PRIORITY.  */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26