More BSD enhancements

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-04-27 18:13:11 +00:00
parent b9d6efa20e
commit 6eeee2496b
29 changed files with 216 additions and 155 deletions

View File

@@ -609,7 +609,7 @@ static void *do_monitor(void *data)
#endif
/* Wait indefinitely for something to happen */
pthread_testcancel();
res = select(n + 1, &rfds, NULL, &efds, NULL);
res = ast_select(n + 1, &rfds, NULL, &efds, NULL);
pthread_testcancel();
/* Okay, select has finished. Let's see what happened. */
if (res < 1) {