Changeset 35334 in project


Ignore:
Timestamp:
03/24/18 21:11:59 (4 months ago)
Author:
kon
Message:

rel 2.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/synch

    r35178 r35334  
    2121==== synch
    2222
    23 <macro>(synch MUTEX-FORM [BODY ...]) => object</macro>
     23<macro>(synch MUTEX-FORM [BODY ...]) -> *</macro>
    2424
    2525Execute {{BODY ...}} while {{MUTEX}} locked.
     
    2929==== synch-with
    3030
    31 <macro>(synch-with MUTEX-FORM VARIABLE [BODY ...]) => object</macro>
     31<macro>(synch-with MUTEX-FORM VARIABLE [BODY ...]) -> *</macro>
    3232
    3333Execute {{BODY ...}} while {{MUTEX}} locked and the mutex-specific of {{MUTEX}}
     
    3838==== call-synch
    3939
    40 <macro>(call-synch MUTEX-FORM PROCEDURE [ARGUMENTS ...]) => object</macro>
     40<macro>(call-synch MUTEX-FORM PROCEDURE [ARGUMENTS ...]) -> *</macro>
    4141
    4242Invoke {{PROCEDURE}} on the argument list {{ARGUMENTS ...}} while {{MUTEX}}
     
    4747==== call-synch-with
    4848
    49 <macro>(call-synch-with MUTEX-FORM PROCEDURE [ARGUMENTS ...]) => object</macro>
     49<macro>(call-synch-with MUTEX-FORM PROCEDURE [ARGUMENTS ...]) -> *</macro>
    5050
    5151Invoke {{PROCEDURE}} on the mutex-specific of {{MUTEX}}
     
    5656==== apply-synch
    5757
    58 <macro>(apply-synch MUTEX-FORM PROCEDURE [ARGUMENTS ...]) => object</macro>
     58<macro>(apply-synch MUTEX-FORM PROCEDURE [ARGUMENTS ...]) -> *</macro>
    5959
    6060Apply {{PROCEDURE}} to the argument list {{ARGUMENTS ...}} while {{MUTEX}}
     
    6565==== apply-synch-with
    6666
    67 <macro>(apply-synch-with MUTEX-FORM PROCEDURE [ARGUMENTS ...]) => object</macro>
     67<macro>(apply-synch-with MUTEX-FORM PROCEDURE [ARGUMENTS ...]) -> *</macro>
    6868
    6969Apply {{PROCEDURE}} to the mutex-specific of {{MUTEX}}) and the {{ARGUMENTS ...}}
     
    7474==== synch-lock
    7575
    76 <macro>(synch-lock MUTEX-FORM [BODY ...]) => object</macro>
     76<macro>(synch-lock MUTEX-FORM [BODY ...]) -> *</macro>
    7777
    7878Execute {{BODY ...}} while {{MUTEX}} locked, and leave mutex locked.
     
    8282==== synch-unlock
    8383
    84 <macro>(synch-unlock MUTEX-FORM [BODY ...]) => object</macro>
     84<macro>(synch-unlock MUTEX-FORM [BODY ...]) -> *</macro>
    8585
    8686Execute {{BODY ...}} while {{MUTEX}} locked, and leave mutex unlocked.
     
    9393==== let-synch-with
    9494
    95 <macro>(let-synch-with BINDINGS [BODY ...]) => object</macro>
     95<macro>(let-synch-with BINDINGS [BODY ...]) -> *</macro>
    9696
    9797{{BINDINGS}} is a list of {{(VARIABLE MUTEX-FORM)}}.
     
    105105==== set!-synch-with
    106106
    107 <macro>(set!-synch-with MUTEX-FORM VARIABLE [BODY ...]) => object</macro>
     107<macro>(set!-synch-with MUTEX-FORM VARIABLE [BODY ...]) -> *</macro>
    108108
    109109While the {{MUTEX}} is locked, evaluates {{BODY ...}} with the {{VARIABLE}}
     
    115115==== object-synch-cut-with
    116116
    117 <macro>(object-synch-cut-with MUTEX-FORM [BODY ...]) => object<-macro>
     117<macro>(object-synch-cut-with MUTEX-FORM [BODY ...]) -> *<-macro>
    118118
    119119Execute {{BODY ...}} while {{MUTEX}} locked.
     
    126126==== record-synch
    127127
    128 <macro>(record-synch RECORD-OBJECT RECORD-SYMBOL [BODY ...]) => object</macro>
     128<macro>(record-synch RECORD-OBJECT RECORD-SYMBOL [BODY ...]) -> *</macro>
    129129
    130130Execute {{BODY ...}} while the {{RECORD-OBJECT}} mutex is locked. The mutex is
     
    148148==== record-synch-lock
    149149
    150 <macro>(record-synch-lock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) => object</macro>
     150<macro>(record-synch-lock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) -> *</macro>
    151151
    152152Execute {{BODY ...}} while the {{RECORD-OBJECT}} mutex is locked, and leave the
     
    159159==== record-synch-unlock
    160160
    161 <macro>(record-synch-unlock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) => object</macro>
     161<macro>(record-synch-unlock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) -> *</macro>
    162162
    163163Execute {{BODY ...}} while the {{RECORD-OBJECT}} mutex is locked, and leave the
     
    178178==== %call-synch
    179179
    180 <macro>(%call-synch MUTEX-FORM PROCEDURE [ARGUMENTS ...]) => object</macro>
     180<macro>(%call-synch MUTEX-FORM PROCEDURE [ARGUMENTS ...]) -> *</macro>
    181181
    182182==== %call-synch-with
    183183
    184 <macro>(%call-synch-with MUTEX-FORM PROCEDURE [ARGUMENTS ...]) => object</macro>
     184<macro>(%call-synch-with MUTEX-FORM PROCEDURE [ARGUMENTS ...]) -> *</macro>
    185185
    186186==== %apply-synch
    187187
    188 <macro>(%apply-synch MUTEX-FORM PROCEDURE [ARGUMENTS ...]) => object</macro>
     188<macro>(%apply-synch MUTEX-FORM PROCEDURE [ARGUMENTS ...]) -> *</macro>
    189189
    190190==== %apply-synch-with
    191191
    192 <macro>(%apply-synch-with MUTEX-FORM PROCEDURE [ARGUMENTS ...]) => object</macro>
     192<macro>(%apply-synch-with MUTEX-FORM PROCEDURE [ARGUMENTS ...]) -> *</macro>
    193193
    194194==== %synch
    195195
    196 <macro>(%synch MUTEX-FORM [BODY ...]) => object</macro>
     196<macro>(%synch MUTEX-FORM [BODY ...]) -> *</macro>
    197197
    198198==== %synch-with
    199199
    200 <macro>(%synch-with MUTEX-FORM VARIABLE [BODY ...]) => object</macro>
     200<macro>(%synch-with MUTEX-FORM VARIABLE [BODY ...]) -> *</macro>
    201201
    202202==== %synch-lock
    203203
    204 <macro>(%synch-lock MUTEX-FORM [BODY ...]) => object</macro>
     204<macro>(%synch-lock MUTEX-FORM [BODY ...]) -> *</macro>
    205205
    206206==== %synch-unlock
    207207
    208 <macro>(%synch-unlock MUTEX-FORM [BODY ...]) => object</macro>
     208<macro>(%synch-unlock MUTEX-FORM [BODY ...]) -> *</macro>
    209209
    210210==== %let-synch
    211211
    212 <macro>(%let-synch BINDINGS [BODY ...]) => object</macro>
     212<macro>(%let-synch BINDINGS [BODY ...]) -> *</macro>
    213213
    214214==== %set!-synch-with
    215215
    216 <macro>(%set!-synch-with MUTEX-FORM VARIABLE [BODY ...]) => object</macro>
     216<macro>(%set!-synch-with MUTEX-FORM VARIABLE [BODY ...]) -> *</macro>
    217217
    218218==== %object-synch-cut-with
    219219
    220 <macro>(%object-synch-cut-with MUTEX-FORM [BODY ...]) => object</macro>
     220<macro>(%object-synch-cut-with MUTEX-FORM [BODY ...]) -> *</macro>
    221221
    222222==== %record-synch
    223223
    224 <macro>(%record-synch RECORD-OBJECT RECORD-SYMBOL [BODY ...]) => object</macro>
     224<macro>(%record-synch RECORD-OBJECT RECORD-SYMBOL [BODY ...]) -> *</macro>
    225225
    226226==== %record-synch-lock
    227227
    228 <macro>(%record-synch-lock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) => object</macro>
     228<macro>(%record-synch-lock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) -> *</macro>
    229229
    230230==== %record-synch-unlock
    231231
    232 <macro>(%record-synch-unlock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) => object</macro>
     232<macro>(%record-synch-unlock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) -> *</macro>
    233233
    234234=== Object Synchronization
     
    236236==== make-synch-with-object
    237237
    238 <procedure>(make-synch-with-object OBJECT [NAME]) => mutex</procedure>
     238<procedure>(make-synch-with-object OBJECT [NAME]) -> mutex</procedure>
    239239
    240240Returns a mutex with a mutex-specific value of {{OBJECT}}, and optional mutex
     
    250250==== synch-with-object?
    251251
    252 <procedure>(synch-with-object? OBJECT [PREDICATE]) => bool</procedure>
     252<procedure>(synch-with-object? OBJECT [PREDICATE]) -> bool</procedure>
    253253
    254254Is the {{OBJECT}} a synchronized object - a mutex with a non-void mutex
     
    362362[[/man/4/check-errors|check-errors]]
    363363
     364[[setup-helper|setup-helper]]
     365
    364366
    365367== Version history
    366368
    367 ; 2.3.0 : Add {{critical-region}}, {{synchronized-procedure}}
     369; 2.3.0 : Add {{critical-region}}, {{synchronized-procedure}}, {{record-synch}}, {{record-synch-lock}}, {{record-synch-unlock}}, {{call-synch}}, {{call-synch-with}}, {{apply-synch}}, {{apply-synch-with}}, {{let-synch-with}}, {{set!-synch-with}}, {{synch-lock}}, {{synch-unlock}}, {{object-synch-cut-with}}, {{make-synch-with-object}}, {{synch-with-object?}}, {{define-constructor-synch}}, {{define-predicate-synch}}, {{define-operation-synch}}.
    368370; 2.2.2 :
    369371; 2.2.1 : Do not build {{format-synch}}.
Note: See TracChangeset for help on using the changeset viewer.