XINU
|
ポートを用いたメッセージ送受信に用いる構造体や定数の宣言 More...
Go to the source code of this file.
Data Structures | |
struct | ptentry |
ポートテーブルエントリ More... | |
struct | ptnode |
メッセージリストのノード More... | |
Macros | |
#define | isbadport(portid) ((portid) < 0 || (portid) >= NPORTS) |
ポートIDが不正値かどうかを確認する。 More... | |
#define | NPORTS 30 |
ポートの最大数 More... | |
#define | PT_ALLOC 3 |
ポートが割り当てられた More... | |
#define | PT_FREE 1 |
ポートがFREE状態 More... | |
#define | PT_LIMBO 2 |
ポートが削除された、もしくはリセットされる More... | |
#define | PT_MSGS 100 |
システム内の最大メッセージ数 More... | |
Variables | |
struct ptentry | porttab [] |
ポートテーブルエントリのextern宣言 More... | |
struct ptnode * | ptfree |
フリーノードリストのextern宣言 More... | |
int32 | ptnextid |
空きスロットを探す際に試みる次のポートID More... | |
ポートを用いたメッセージ送受信に用いる構造体や定数の宣言
Definition in file ports.h.
#define isbadport | ( | portid | ) | ((portid) < 0 || (portid) >= NPORTS) |
#define NPORTS 30 |
#define PT_ALLOC 3 |
ポートが割り当てられた
Definition at line 15 of file ports.h.
Referenced by _ptclear(), ptcount(), ptcreate(), ptdelete(), ptrecv(), ptreset(), and ptsend().
#define PT_FREE 1 |
ポートがFREE状態
Definition at line 11 of file ports.h.
Referenced by ptcreate(), ptdelete(), and ptinit().
#define PT_LIMBO 2 |
struct ptentry porttab[] |
ポートテーブルエントリのextern宣言
ポートテーブルエントリのextern宣言
Definition at line 10 of file ptinit.c.
Referenced by ptcount(), ptcreate(), ptdelete(), ptinit(), ptrecv(), ptreset(), and ptsend().
struct ptnode* ptfree |
フリーノードリストのextern宣言
フリーノードリストのextern宣言
Definition at line 8 of file ptinit.c.
Referenced by _ptclear(), ptrecv(), and ptsend().
int32 ptnextid |
空きスロットを探す際に試みる次のポートID
空きスロットを探す際に試みる次のポートID
Definition at line 12 of file ptinit.c.
Referenced by ptcreate(), ptdelete(), and ptinit().