Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

IsMsgPortEmpty

Check if a messageport is empty

Declaration

Source position: exec.pas line 1990

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