coroutine::auto(3tcl) Coroutine utilities coroutine::auto(3tcl)
______________________________________________________________________________
NAME
coroutine::auto - Automatic event and IO coroutine awareness
SYNOPSIS
package require Tcl 8.6
package require coroutine::auto 1.1.3
package require coroutine 1.1
______________________________________________________________________________
DESCRIPTION
The coroutine::auto package provides no commands or other directly vis-
ible functionality. Built on top of the package coroutine, it inter-
cepts 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
after
exit
gets
global
read
update
vwait
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 Tcllib Trackers [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 unified diffs, i.e the out-
put 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.
KEYWORDS
after, channel, coroutine, events, exit, gets, global, green threads,
read, threads, update, vwait
CATEGORY
Coroutine
COPYRIGHT
Copyright (c) 2010-2014 Andreas Kupries <andreas_kupries@users.sourceforge.net>
tcllib 1.1.3 coroutine::auto(3tcl)