[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Exec' (#aros)

IsMsgPortEmpty

Check if a messageport is empty

Declaration

Source position: exec.pas line 1411

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: 2017-01-10