Branch: Tag:

2017-11-30

2017-11-30 14:51:23 by Stephen R. van den Berg <srb@cuci.nl>

Concurrent: So much for tail call optimisation; exception isolation ruined it.

39:   private mixed    callnow(function(mixed ...:void) f, int|float delay, mixed ... args)   { -  // This cast allows tail call optimisation -  return [function(mixed ...:mixed)]f(@args); +  mixed err = catch (f(@args)); +  if (err) +  master()->handle_error(err); +  return 0;   }      protected function(function(mixed ...:void), int|float, mixed ...:mixed)