System.Tether.Manager.TTetheringManagerCommunicationThread.TCommandQueue.Enqueue
Delphi
procedure Enqueue(const Acommand: string);
C++
void __fastcall Enqueue(const System::UnicodeString Acommand);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TCommandQueue |
説明
コマンドをコマンド キューに追加します。文字列パラメータ Acommand
を受け取ります。
Enqueue では SetEvent を呼び出し、これが待機スレッドにシグナルを送信します。
- メモ: この関数では、キューをロックし、この関数の処理が完了するまで、他の関数が絶対にキューの状態を変更できないようにします。