Check if a messageport is empty
Source position: exec.pas line 1414
function IsMsgPortEmpty( |
mp: PMsgPort |
):Boolean; |
mp |
|
A pointer to the messageport |
True if no messages are there, False if there are at least one message in the messageport
Easy way to check if a messageport has messages or not without removing the message from the messageport.