More select/poll updates for various applications

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-04-26 03:02:49 +00:00
parent 459fda5e44
commit ce44c6ec41
6 changed files with 31 additions and 22 deletions

View File

@@ -594,7 +594,7 @@ int ast_softhangup_nolock(struct ast_channel *chan, int cause)
/* Inform channel driver that we need to be hung up, if it cares */
chan->_softhangup |= cause;
ast_queue_frame(chan, &f);
/* Interrupt any select call or such */
/* Interrupt any poll call or such */
if (chan->blocking)
pthread_kill(chan->blocker, SIGURG);
return res;