GadgetSeed
0.9.6
waitqueue.h
[詳解]
1
/** @file
2
@brief 待ちタスク制御
3
4
これらの関数は非タスク状態からコールされる
5
6
@date 2011.04.03
7
@author Takashi SHUDO
8
*/
9
10
#ifndef WAITQUEUE_H
11
#define WAITQUEUE_H
12
13
#include "
task/task.h
"
14
15
extern
struct
st_queue
wait_queue_head
;
16
17
void
waitqueue_add(
struct
st_tcb
*tcb);
18
struct
st_tcb
*waitqueue_wakeup(
struct
st_tcb
*tcb);
19
20
#endif // WAITQUEUE_H
st_queue
キュー構造
Definition:
queue.h:13
wait_queue_head
struct st_queue wait_queue_head
待ちタスクキュー
Definition:
waitqueue.c:17
task.h
タスク制御
st_tcb
タスクコンテキスト
Definition:
tcb.h:32
kernel
task
waitqueue.h
構築:
1.8.13