#include "version.h"
#include "command.h"
-#if HAVE_SCHED_YIELD
-#undef HAVE_SCHED_YIELD // disabled for the time being
-//# include <sched.h>
-#endif
-
#ifdef KEYSYM_RESOURCE
# include "keyboard.h"
#endif
}
#endif
-#if HAVE_SCHED_YIELD
-static struct event_handler
-{
- check_watcher cw_yield;
-
- void yield (check_watcher &w)
- {
- sched_yield ();
- w.stop ();
- }
-
- event_handler ()
- : cw_yield (this, &event_handler::yield)
- {
- }
-} event_handler;
-#endif
-
bool
rxvt_term::pty_fill ()
{