[ Tcllib Home | Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

# coroutine::auto(n) 1 tcllib "Coroutine utilities"

## Name

coroutine::auto - Automatic event and IO coroutine awareness

## Table Of Contents

## Synopsis

- package require Tcl 8.6
- package require coroutine::auto 1.1.1
- package require coroutine 1.1

## 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

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. Please also report any ideas for enhancements you may have for either package and/or documentation.

## Keywords

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

## Category

Coroutine

## Copyright

Copyright © 2010-2011 Andreas Kupries <andreas_kupries@users.sourceforge.net>