Document of c-modernization-kit (porter)
1.0.0
Loading...
Searching...
No Matches
porter
libsrc
porter
thread
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
20
extern
"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 */
potrContext.h
セッションコンテキスト内部定義ヘッダー。
comm_recv_thread_start
int comm_recv_thread_start(struct PotrContext_ *ctx)
非 TCP 受信スレッドを起動します。
Definition
potrRecvThread.c:2980
tcp_recv_thread_start
int tcp_recv_thread_start(struct PotrContext_ *ctx, int path_idx)
TCP 受信スレッドを path ごとに起動します。
Definition
potrRecvThread.c:3079
comm_recv_thread_stop
int comm_recv_thread_stop(struct PotrContext_ *ctx)
非 TCP 受信スレッドを停止します。
Definition
potrRecvThread.c:3027
tcp_recv_thread_stop
int tcp_recv_thread_stop(struct PotrContext_ *ctx, int path_idx)
TCP 受信スレッドの終了を待機します。
Definition
potrRecvThread.c:3133
PotrContext_
セッションコンテキスト構造体。PotrHandle の実体。
Definition
potrContext.h:156
Generated by
1.14.0