受信スレッド内部ヘッダー。
c-modernization-kit sample team
1.0.0
2026/03/04
Copyright (C) CompanyName, Ltd. 2026. All rights reserved.
int comm_recv_thread_start ( struct PotrContext_ *ctx )非 TCP 受信スレッドを起動します。
成功時は POTR_SUCCESS、失敗時は POTR_ERROR を返します。
int comm_recv_thread_stop ( struct PotrContext_ *ctx )非 TCP 受信スレッドを停止します。
成功時は POTR_SUCCESS、失敗時は POTR_ERROR を返します。
int tcp_recv_thread_start ( struct PotrContext_ *ctx, int path_idx )TCP 受信スレッドを path ごとに起動します。
成功時は POTR_SUCCESS、失敗時は POTR_ERROR を返します。
int tcp_recv_thread_stop ( struct PotrContext_ *ctx, int path_idx )TCP 受信スレッドの終了を待機します。
スレッドの停止はソケットクローズ (connect スレッド側) で行います。 本関数は join のみを担当します。
成功時は POTR_SUCCESS、失敗時は POTR_ERROR を返します。