Occasionally, the alertpipe loses its nonblocking status, so detect and correct
commitb345262b865dd1ff288e0408efb20b0c33236f79
authortilghman <tilghman@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 12 Jun 2008 15:11:30 +0000 (12 15:11 +0000)
committertilghman <tilghman@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 12 Jun 2008 15:11:30 +0000 (12 15:11 +0000)
tree3fa9c7221545882acb48b437dacadd0bdd82514b
parent8d6b4661e16cd296c327c8fedc03f600146618b3
Occasionally, the alertpipe loses its nonblocking status, so detect and correct
that situation before it causes a deadlock.  (Reported and tested by ctooley
via #asterisk-dev)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@122130 614ede4d-c843-0410-af14-a771ab80d22e
main/channel.c