*** empty log message ***
authorroot <root>
Tue, 31 Jan 2006 21:23:13 +0000 (21:23 +0000)
committerroot <root>
Tue, 31 Jan 2006 21:23:13 +0000 (21:23 +0000)
src/command.C

index ace499a51d934680340b2183a99fef347648b810..dbf2aaf1ba3ccacf6a93b2e883eab9e5cd17e733 100644 (file)
 #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
@@ -1097,24 +1092,6 @@ rxvt_term::slip_wheel_cb (time_watcher &w)
 }
 #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 ()
 {