Posted to tcl by jima at Tue Aug 27 10:53:08 GMT 2013view raw

  1. Cfun1(...) {
  2.  
  3. /* sets up something in cData */
  4.  
  5. NRE_register_callback(Cfun2)
  6. NRE_eval_whatever... /* might give control to other coro (?) */
  7. }
  8.  
  9. Cfun2(...) {
  10. /* needs to set up something in cData too */
  11. }