1coroutine::auto(n)            Coroutine utilities           coroutine::auto(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       coroutine::auto - Automatic event and IO coroutine awareness
9

SYNOPSIS

11       package require Tcl  8.6
12
13       package require coroutine::auto  1.2
14
15       package require coroutine  1.3
16
17______________________________________________________________________________
18

DESCRIPTION

20       The coroutine::auto package provides no commands or other directly vis‐
21       ible functionality.  Built on top of the package coroutine,  it  inter‐
22       cepts  various  builtin commands of the Tcl core to make any code using
23       them coroutine-oblivious, i.e. able to run  inside  and  outside  of  a
24       coroutine without changes.
25
26       The commands so affected by this package are
27
28       after
29
30       exit
31
32       gets
33
34       global
35
36       puts
37
38       read
39
40       socket
41
42       update
43
44       vwait
45

BUGS, IDEAS, FEEDBACK

47       This  document,  and the package it describes, will undoubtedly contain
48       bugs and other problems.  Please report such in the category  coroutine
49       of  the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist].  Please
50       also report any ideas for enhancements you may have for either  package
51       and/or documentation.
52
53       When proposing code changes, please provide unified diffs, i.e the out‐
54       put of diff -u.
55
56       Note further that  attachments  are  strongly  preferred  over  inlined
57       patches.  Attachments  can  be  made  by  going to the Edit form of the
58       ticket immediately after its creation, and  then  using  the  left-most
59       button in the secondary navigation bar.
60

KEYWORDS

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

CATEGORY

66       Coroutine
67
69       Copyright (c) 2010-2014 Andreas Kupries <andreas_kupries@users.sourceforge.net>
70
71
72
73
74tcllib                                1.2                   coroutine::auto(n)
Impressum