Branch: Tag:

2018-02-07

2018-02-07 16:27:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Remove co_id == 1 special case.

The special case is no longer used as it was broken, so there's
no need to keep the code around.

1334:    return;    }    -  if (co_id && (co_id != 1)) { +  if (co_id) {    // Nonblocking mode and we need to poll earlier,    // so reschedule the call_out.    MON_WERR("Rescheduling call_out.\n");
1678:   //! Call-out identifier for @[backend_check()] if in   //! nonblocking mode.   //! - //! Set to @expr{1@} when non_blocking mode without call_outs - //! is in use. - //! +    //! @seealso   //! @[set_nonblocking()], @[set_blocking()]   protected mixed co_id;
1733:   //! @[check()], @[set_nonblocking()]   protected void backend_check()   { -  if (co_id != 1) co_id = 0; +  co_id = 0; +     int t;    mixed err = catch {    t = check(0);