bpc_send in beepcore C library hangs
"Des Smith" <[email protected]> Mon, 7 Oct 2002 12:55:20 +0100
| Newsgroups | gmane.network.beep.beepcore.c.general |
|---|---|
| Message-ID | <000001c26df8$696bbaa0$b80112ac@DESSMITH> |
When sending a reply from a listener implemented using beepcore-c
libraries bpc_send() is hanging.
I ve tracked it down to the following call
fiostate_unblock_write() in bp_fiostate.c .
The listener is hanging when sending its reply at the following line
highlighted.
bp_fiostate_unblock_write(IOSTATE *ios){
SEM_WAIT(&ios->pn->lock);
ios->pn->sessionfds[ios->iostate_index].events |= POLLOUT;
SEM_POST(&ios->pn->lock);
}
What could cause this to hang in this manner?
Thanks,
Des Smith.