GadgetSeed  0.9.6
sleepqueue.h
[詳解]
1 /** @file
2  @brief スリープタスク制御
3 
4  これらの関数は非タスク状態からコールされる
5 
6  @date 2011.03.17
7  @author Takashi SHUDO
8 */
9 
10 #ifndef SLEEPQUEUE_H
11 #define SLEEPQUEUE_H
12 
13 #include "task/task.h"
14 
16 
17 void sleepqueue_add(struct st_tcb *tcb, unsigned int sleep_time,
18  unsigned int now_time);
19 struct st_tcb *sleepqueue_schedule(unsigned long long now_time);
20 
21 #endif // SLEEPQUEUE_H
タスクキュー
Definition: tcb.h:27
struct st_tcb * tcb
タスクコンテキストブロックポインタ
Definition: tcb.h:29
タスク制御
struct tcb_queue timeout_wait_queue_head
タイムアウト待ちタスクキュー
Definition: sleepqueue.c:24
タスクコンテキスト
Definition: tcb.h:32