Changeset 36935 in project


Ignore:
Timestamp:
11/28/18 16:33:20 (2 weeks ago)
Author:
kon
Message:

rel 3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/synch

    r36037 r36935  
    312312Returns a synchronized version of {{PROC}}
    313313
    314 === Critical Regions
    315 
    316 ==== Usage
    317 
    318 <enscript language=scheme>
    319 (import critical-region)
    320 </enscript>
    321 
    322 Evaluated under {{(disable-interrupts)}}.
    323 
    324 ==== critical-region
    325 
    326 <syntax>(critical-region EXPR ...) -> *</syntax>
    327 
    328 Evaluates {{EXPR ...}} w/o interrupts.
    329 
    330 ==== apply-critical-region
    331 
    332 <procedure>(apply-critical-region PROC ARG0 ...) -> *</procedure>
    333 
    334 Evaluates {{(apply PROC' ARG0' ...')}} w/o interrupts, where {{PROC' ARG0'
    335 ...'}} are the result of the evaluation of {{PROC ARG0 ...}} in the caller's
    336 context.
    337 
    338 ==== call-critical-region
    339 
    340 <syntax>(call-critical-region THUNK) -> *</syntax>
    341 
    342 Evaluates {{(THUNK')}} w/o interrupts, where {{THUNK'}} is the result of the
    343 evaluation of {{THUNK}} in the caller's context.
    344 
    345314
    346315== Notes
     
    367336== Version history
    368337
     338; 3.1.0 : Remove {{critical-region}} malarkey.
    369339; 3.0.0 : CHICKEN 5 release.
    370340; 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}}.
Note: See TracChangeset for help on using the changeset viewer.