Unit 'EXEC' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

IsMsgPortEmpty

Check if a messageport is empty

Declaration

Source position: exec.pas line 1323

function IsMsgPortEmpty(

  mp: pMsgPort

):Boolean;

Arguments

mp

  

A pointer to the messageport

Function result

True if no messages are there, False if there are at least one message in the messageport

Description

Easy way to check if a messageport has messages or not without removing the message from the messageport.


Documentation generated on: 2021-07-30