canqueue_disconnect_edge_kern

Name

canqueue_disconnect_edge_kern --  disconnect edge from communicating entities with wait

Synopsis

int canqueue_disconnect_edge_kern (struct canque_ends_t * qends, struct canque_edge_t * qedge);

Arguments

qends

ends structure belonging to calling communication object

qedge

pointer to edge

Description

Same as canqueue_disconnect_edge, but tries to wait for state with zero use counter.

Return Value

Negative value means, that edge is used and cannot be disconnected yet. Operation has to be delayed.