Changeset 2878 in project for wiki/Embedding


Ignore:
Timestamp:
01/17/07 09:41:49 (14 years ago)
Author:
felix winkelmann
Message:

http-server-form-posts setup fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/Embedding

    r2828 r2878  
    223223this function returns another continuation that can be used to restart again.
    224224
    225 Note: if you invoke callbacks prior to calling {{CHICKEN_continue}}, make sure that the
     225If you invoke callbacks prior to calling {{CHICKEN_continue}}, make sure that the
    226226continuation is not reclaimed by garbage collection. This can be avoided by using {{C_gc_protect}}
    227227or gc-roots.
    228 
    229 
    230228
    231229Another example:
     
    266264 % csc x.scm y.c -embedded
    267265
     266It is advisable not to mix repeated uses of {{CHICKEN_continue}}/{{return-to-host}}
     267(as in the example above) with callbacks. Once {{return-to-host}} is invoked, the runtime system
     268and any Scheme code executed prior to the invocation is initialized and can be conveniently
     269used via callbacks.
    268270
    269271A simpler interface For handling GC-safe references to Scheme data are the so called ''gc-roots'':
Note: See TracChangeset for help on using the changeset viewer.