Changeset 33120 in project


Ignore:
Timestamp:
01/23/16 22:05:21 (4 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [78.55.117.245]: document new version (release pending fix for ticket 1231)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/pigeon-hole

    r33112 r33120  
    5353Return: {{#t}} if value was send.
    5454
    55 <procedure>(receive! {{PIGEON-HOLE}}) -> *</procedure>
     55<procedure>(receive! PIGEON-HOLE) -> *</procedure>
    5656
    57 Receive value from {{PIGEON-HOLE}}, current thread may block if
    58 capacity is exeeded.
     57Receive value from {{PIGEON-HOLE}}, block if none available.
    5958
    60 # Examples
     59=== Unstable API
     60
     61<procedure>(send-list/anyway!! PIGEON-HOLE LIST [NUM LAST]) -> undefined</procedure>
     62
     63Append all values from {{LIST}} to {{PIGEON-HOLE}}.
     64
     65It is an error to access {{LIST}} after this call.  Optional {{NUM}}
     66and {{LAST}} may be given for optimization.  Must be the length of the
     67{{LIST}} and the last pair of it.  All bets are off otherwise.
     68
     69<procedure>(receive-all! PIGEON-HOLE) -> LIST</procedure>
     70
     71Receive list of all currently available values from {{PIGEON-HOLE}}.
     72
     73== Examples
    6174
    6275    (module
Note: See TracChangeset for help on using the changeset viewer.