Changeset 33117 in project


Ignore:
Timestamp:
01/23/16 13:27:55 (4 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [78.55.117.245]: Document changes regarding timeouts and their dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/forcible

    r33097 r33117  
    4343== Requirements
    4444
    45 None.
     45Requires Pigeon-hole, llrb-tree.
    4646
    47 Exception: The implementation of {{expectable}} currently (2016-01-10)
     47The implementation of {{expectable}} currently (2016-01-10)
    4848depends on a CHICKEN having the fix for
    4949[[http://bugs.call-cc.org/ticket/1231|Ticket 1231]] applied.
     50
     51== Timeouts
     52
     53Timeouts are coase grained.  They are handled once per
     54{{timeout-period}}, which defaults to one second.
     55
     56Timeouts on {{future}}s and {{orders}} come at neglegible runtime
     57overhead.
    5058
    5159== API
     
    8189
    8290Variation of {{future}}.  The evaluation of {{EXPRESSION}} receives an
     91exceptions for which {{timeout-condition?}} holds after {{TIMEOUT}}.
     92
     93<syntax>(order EXPRESSION) -> PROMISE</syntax>
     94
     95Returns a promise, a delayed evaluation of {{EXPRESSION}}.  The
     96evaluation of expression is ordered from another thread in a
     97threadpool.  {{PROMISE}} will cache exceptions returned by
     98{{EXPRSSION}}.
     99
     100<syntax>(order/timeout TIMEOUT EXPRESSION) -> PROMISE</syntax>
     101
     102Variation of {{order}}.  The evaluation of {{EXPRESSION}} receives an
    83103exceptions for which {{timeout-condition?}} holds after {{TIMEOUT}}.
    84104
Note: See TracChangeset for help on using the changeset viewer.