Loading ...
Sorry, an error occurred while loading the content.

15978Re: vim loops while suspended

Expand Messages
  • Bram Moolenaar
    Oct 31, 2000
    • 0 Attachment
      Wichert Akkerman wrote:

      > Vim behaves a bit suboptimal if you suspend it: an strace shows
      > that it enters a busy loop doing the following:
      >
      > --- SIGTTOU (Syopped (tty output)) ---
      > --- SIGTTOU (Syopped (tty output)) ---
      > ioctl(0, SNCTL_TMR_START, {B38400 opost -isig -icanon -echo ...}_ = ? ERESTARSYS (To be restarted)
      > --- SIGTTOU (Syopped (tty output)) ---
      > --- SIGTTOU (Syopped (tty output)) ---
      > ioctl(0, SNCTL_TMR_START, {B38400 opost -isig -icanon -echo ...}_ = ? ERESTARSYS (To be restarted)
      >
      > (SNCTL_TMR_START is actually TCSETS, there is an overlap in ioctl
      > numbering there).
      >
      > I can't help but think there has to be a better approach.

      My Vim stays asleep...

      How did you start Vim? In the GUI mode Vim keeps working on things like
      blinking the cursor. In the console mode it should be asleep, but perhaps
      some library you linked with has some work to do.

      --
      The fastest way to get an engineer to solve a problem is to declare that the
      problem is unsolvable. No engineer can walk away from an unsolvable problem
      until it's solved.
      (Scott Adams - The Dilbert principle)

      /// Bram Moolenaar Bram@... http://www.moolenaar.net \\\
      \\\ Vim: http://www.vim.org ICCF Holland: http://iccf-holland.org ///
    • Show all 4 messages in this topic