Branch: Tag:

2016-02-04

2016-02-04 13:46:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Threads: Survive describe_all_threads() throwing errors.

Adds some paranoia to ensure that the disable_threads key
is released even on describe_all_threads() failure.

Fixes [bug 7642 (#7642)] some more.

815: Inside #if undefined(NO_SLOW_REQ_BT)
   describe_thread (thread);    } else {    last_dump_hrtime = hrnow; -  describe_all_threads (0, 1); +  mixed err = catch { +  describe_all_threads(0, 1); +  }; +  if (err) master()->handle_error(err);    }    }