some updates to ecore_fd_valid: add dummy closes to track with strace (sup k-s) and switch sleep() to pause()

SVN revision: 55838
This commit is contained in:
Mike Blumenkrantz 2011-01-04 06:58:34 +00:00
parent e8056f8f83
commit cde9f435f7
1 changed files with 4 additions and 1 deletions

View File

@ -161,8 +161,11 @@ _ecore_fd_valid(void)
if (fcntl(epoll_fd, F_GETFD) < 0)
{
ERR("arghhh you caught me! report a backtrace to edevel!");
sleep(5);
close(-111);
pause();
}
else
close(-999);
#endif
}