System.Tether.Manager.TTetheringManagerCommunicationThread.TCommandQueue.Enqueue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Enqueue(const Acommand: string);

C++

void __fastcall Enqueue(const System::UnicodeString Acommand);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TCommandQueue

Description

Adds a command to the command queue. Accepts a string parameter Acommand.

Enqueue calls SetEvent, which sends a signal to the waiting thread.

Note: This function locks the queue and ensures that no other function can change the state of the queue until this function finishes.

See Also