logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

coroutine::auto - Automatic event and IO coroutine awareness

Bugs, Ideas, Feedback

       This  document,  and  the package it describes, will undoubtedly contain bugs and other problems.  Please
       report such in the category coroutine  of  the  TcllibTrackers  [http://core.tcl.tk/tcllib/reportlist].
       Please also report any ideas for enhancements you may have for either package and/or documentation.

       When proposing code changes, please provide unifieddiffs, i.e the output of diff-u.

       Note  further  that  attachments  are strongly preferred over inlined patches. Attachments can be made by
       going to the Edit form of the ticket immediately after its creation, and then using the left-most  button
       in the secondary navigation bar.

Category

       Coroutine

Description

       The  coroutine::auto  package provides no commands or other directly visible functionality.  Built on top
       of the package coroutine, it intercepts various builtin commands of the Tcl core to make any  code  using
       them coroutine-oblivious, i.e. able to run inside and outside of a coroutine without changes.

       The commands so affected by this package are

       afterexitgetsglobalputsreadsocketupdatevwait

Keywords

       after, channel, coroutine, events, exit, gets, global, green threads, read, threads, update, vwait

Name

       coroutine::auto - Automatic event and IO coroutine awareness

Synopsis

       package require Tcl8.69

       package require coroutine::auto1.3

       package require coroutine1.4

________________________________________________________________________________________________________________

return

See Also