bea ホーム | 製品 | dev2dev | support | askBEA
BEA Logo Tuxedo
 ドキュメントのダウンロード   サイトマップ   用語集 
検索
0

Tuxedo C リファレンス

 Previous Next Contents View as PDF  

rpc_sm_disable_allocate、rpc_ss_disable_allocate(3c)

名前

rpc_sm_disable_allocate()rpc_ss_disable_allocate()−資源とスタブ・メモリ管理方式で割り当てられたメモリの解放

形式

#include <rpc/rpc.h> 
void rpc_sm_disable_allocate(unsigned32 *status);
void rpc_ss_disable_allocate(void);

機能説明

rpc_sm_disable_allocate() ルーチンは、rpc_sm_enable_allocate() を呼び出して取得したすべての資源と、rpc_sm_allocate() の呼び出し後に rpc_sm_enable_allocate() を呼び出すことで割り当てられたすべてのメモリを解放します。

rpc_sm_enable_allocate()rpc_sm_disable_allocate() は、対にして使用しなければなりません。rpc_sm_enable_allocate() を呼び出さずにこのルーチンを使用すると、予期できない結果が生じます。

出力パラメータ status には、このルーチンからのステータス・コードが返されます。このステータス・コードは、ルーチンが成功して完了したか、または失敗した場合はその理由を示します。次は、ステータス・コードとその意味の一覧です。

rpc_s_ok

正常終了

rpc_ss_disable_allocate() は、この関数の例外復帰バージョンであり、出力パラメータ status を持ちません。例外は発生しません。

マルチスレッドのアプリケーション中のスレッドは、TPINVALIDCONTEXT を含め、どのコンテキスト状態で実行していても、rpc_sm_disable_allocate() または rpc_ss_disable_allocate() の呼び出しを発行できます。

戻り値

なし

関連項目

rpc_sm_allocate、rpc_ss_allocate(3c)rpc_sm_enable_allocate、rpc_ss_enable_allocate(3c)

TxRPC を使用した BEA Tuxedo アプリケーションのプログラミング

 

Back to Top Previous Next
Contact e-docsContact BEAwebmasterprivacy