Document of c-modernization-kit (porter) 1.0.0
Loading...
Searching...
No Matches
potrRecvThread.h
Go to the documentation of this file.
1
13
14#ifndef POTR_RECV_THREAD_H
15#define POTR_RECV_THREAD_H
16
17#include "../potrContext.h"
18
19#ifdef __cplusplus
20extern "C"
21{
22#endif /* __cplusplus */
23
24 /* 非 TCP 用受信スレッド (単一スレッド) */
25 extern int comm_recv_thread_start(struct PotrContext_ *ctx);
26 extern int comm_recv_thread_stop(struct PotrContext_ *ctx);
27
28 /* TCP 用受信スレッド (path ごと) */
29 extern int tcp_recv_thread_start(struct PotrContext_ *ctx, int path_idx);
30 extern int tcp_recv_thread_stop(struct PotrContext_ *ctx, int path_idx);
31
32#ifdef __cplusplus
33}
34#endif /* __cplusplus */
35
36#endif /* POTR_RECV_THREAD_H */
セッションコンテキスト内部定義ヘッダー。
int comm_recv_thread_start(struct PotrContext_ *ctx)
非 TCP 受信スレッドを起動します。
int tcp_recv_thread_start(struct PotrContext_ *ctx, int path_idx)
TCP 受信スレッドを path ごとに起動します。
int comm_recv_thread_stop(struct PotrContext_ *ctx)
非 TCP 受信スレッドを停止します。
int tcp_recv_thread_stop(struct PotrContext_ *ctx, int path_idx)
TCP 受信スレッドの終了を待機します。
セッションコンテキスト構造体。PotrHandle の実体。