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

Diff of /rtmk/thread.h

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

revision 1.12 by jrydberg, Sat Feb 16 15:17:16 2002 UTC revision 1.13 by jrydberg, Wed Feb 20 20:04:42 2002 UTC
# Line 201  struct thread Line 201  struct thread
201    struct queue_entry waitq;             /* Link in wait queue.  */    struct queue_entry waitq;             /* Link in wait queue.  */
202    struct queue_entry ipcq;              /* Link in IPC wait queue.  */    struct queue_entry ipcq;              /* Link in IPC wait queue.  */
203    struct queue_entry allq;              /* Link in thread list.  */    struct queue_entry allq;              /* Link in thread list.  */
204      struct queue_entry taskq;             /* Link in tasks list.  */
205    spin_lock_t lock;                     /* Lock for thread.  */    spin_lock_t lock;                     /* Lock for thread.  */
206    
207    struct queue_entry *runq_list;    struct queue_entry *runq_list;
# Line 235  struct thread Line 236  struct thread
236    struct timer timer_user;    struct timer timer_user;
237    struct timer timer_system;    struct timer timer_system;
238    
239    /* IPC information:  */  
240    struct ipc_kmsg *ipc_kmsg;            /* kernel message.  */    /* Message passed to us from some other thread.  When we're
241    rtmk_msg_size_t ipc_length;           /* length.  */       awaken by that thread, IPC_KMSG holds the message.  */
242    ipc_return_t ipc_result;              /* result.  */    struct ipc_kmsg *ipc_kmsg;
243    
244      /* Maximum length of the message that we can receive.  */
245      rtmk_msg_size_t ipc_length;
246    
247      /* Result of IPC operation. Normally success, or message buffer
248         to small.  ??? what other result codes can be sent to thread?  */
249      ipc_return_t ipc_result;
250    
251      /* Port that we're waiting on message to be sent to.  This
252         is used when terminating the thread.  */
253      struct ipc_port *ipc_blocked_port;
254    
255    /* Scheduling information:  */    /* Scheduling information:  */
256    int sched_credits;                    /* Credits.  */    int sched_credits;                    /* Credits.  */

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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