![]() |
![]() |
![]() |
Break a connection between a process and a channel
#include <sys/neutrino.h> int ConnectDetach( int coid ); int ConnectDetach_r( int coid );
libc
The ConnectDetach() and ConnectDetach_r() functions are identical except in the way they indicate errors. See the Returns section for details.
These kernel calls are used to detach the connection specified by the coid argument. If any threads are blocked on the connection (MsgSendv()) at the time the connection is detached, the send fails and returns with an error.
These calls don't block.
The only difference between these functions is the way they indicate errors:
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |