SP_poll
| |
int SP_poll (mailbox mbox);
|
|
Parameters
| |
mbox |
Spread connection handle to
poll on |
|
Return Values
| |
0 |
No messages waiting |
| |
< 0 |
Error (most likely ILLEGAL_SESSION if mbox is illegal. Usually
because it is not active) |
| |
> 0 |
Messages waiting to be received (number of bytes
available) |
|
Description
| |
SP_poll is a way to poll a mailbox
to see if any messages are available for receiving. |
|
Requirements
| |
Header: Include sp.h
Library: Use libspread
Version: 4.0 |
|
Also See |