Branch: Tag:

2016-06-01

2016-06-01 13:51:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Concurrent.Promise: Added maybe_failure().

308:    key = 0;    }    +  //! Reject the @[Future] value unless it has already been fulfilled. +  void maybe_failure(mixed value) +  { +  object key = mux->lock(); +  if (!state) return; +  unlocked_failure(value); +  } +     protected void destroy()    {    if (!state) {