Class TmdMailSlotWaitThread (unit mdMailSlot)

Inherits from

TThread

......................................................... Wait for MessageAvail thread .........................................................

Constructors


Constructor Create(MailSlot : TmdCustomMailSlot);

.


Functions

procedure Execute;

ver 1.

Procedure SignalError;


Procedure SignalMsgReady;

ver 1.

Properties

Events

Variables

FHandle : THandle;


FMailSlot : TmdCustomMailSlot;

FMailSlotHandle : THandle; // Removed in version 1.


Constructors


Constructor Create(MailSlot : TmdCustomMailSlot);

......................................................... Wait for MessageAvail thread .........................................................


Functions


procedure Execute;

ver 1.10

I have tried Higher prio but somehow it does not work the first GetMailSlotInfo returns invalid data Priority := tpHigher;


Procedure SignalError;


Procedure SignalMsgReady;

ver 1.10 Sleep(10); // Suggested by Matt Behrens. (5th Dec 1997 inc to 10


Properties


Events


Variables


FHandle : THandle;


FMailSlot : TmdCustomMailSlot;

FMailSlotHandle : THandle; // Removed in version 1.6 (not used