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

Diff of /rtmk/thread.h

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

revision 1.3 by jrydberg, Mon Dec 10 20:51:04 2001 UTC revision 1.4 by jrydberg, Wed Dec 12 02:54:03 2001 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>
26    
27  #include "tm.h"  #include "tm.h"
28  #include "task.h"  #include "task.h"
# Line 156  extern void thread_wakeup_one (int event Line 157  extern void thread_wakeup_one (int event
157    
158  extern void thread_interrupt (struct thread *thread);  extern void thread_interrupt (struct thread *thread);
159    
160    /* The following two function must be implemented by MD code.  */
161    
162    /* Get status information about THREAD.  What type of status is specified
163       with FLAVOR.  Information is returned in STATUS.  */
164    
165    extern kern_return_t thread_get_status (struct thread *thread,
166                                            thread_status_flavor_t flavor,
167                                            thread_status_t status, int *count);
168    
169    /* Set status information for THREAD.  What type of status is specified
170       with FLAVOR.  Information is located in STATUS.  */
171    
172    extern kern_return_t thread_set_status (struct thread *thread,
173                                            thread_status_flavor_t flavor,
174                                            thread_status_t status, int count);
175    
176  #endif /* thread.h */  #endif /* thread.h */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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