asyncmsg_flush
![]() |
![]() |
![]() |
![]() |
asyncmsg_flush()
Flush the messages sent through the connection
Synopsis:
#include <sys/neutrino.h> #include <sys/asyncmsg.h> int asyncmsg_flush (int coid)
Arguments:
- coid
- The connection ID of the connection you want to flush.
Library:
libasyncmsg
Use the -l asyncmsg option to qcc to link against this library.
Description:
The asyncmsg_flush() function flushes the messages sent through the connection specified by the connection ID coid argument.
The function will not return until all the existing messages are delivered to the receive side.
Returns:
EOK on success; or -1 if an error occurred (errno is set).
Errors:
- EBADF
- The connection specified by coid doesn't exist.
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
asyncmsg_channel_create(), asyncmsg_channel_destroy(), asyncmsg_connect_attach(), asyncmsg_connect_attr(), asyncmsg_connect_detach(), asyncmsg_free(), asyncmsg_get(), asyncmsg_malloc(), asyncmsg_put(), asyncmsg_putv()
Asynchronous Messaging Technote
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
