Tcl Library Source Code

Check-in [de8f0cfec7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:TOOL's pipeline system now utilizes the coro::auto facilities to provide coroutine safe version of after,vwait, etc
Timelines: family | ancestors | descendants | both | odie
Files: files | file ages | folders
SHA1: de8f0cfec7c24224f476cee61592e3da44808c34
User & Date: tne 2016-07-07 13:19:00
Context
2016-07-19
15:38
Updated nettool to utilize the latest TWAPI network API Replaced raw "puts" "flush" and "close" commands in udpcluster to utilize the chan ensemble version instead. check-in: 8f45d4f200 user: tne tags: odie
2016-07-07
13:19
TOOL's pipeline system now utilizes the coro::auto facilities to provide coroutine safe version of after,vwait, etc check-in: de8f0cfec7 user: tne tags: odie
2016-07-06
14:50
Re-introduced ZipFS workaround (as I have some older projects that need it.) Removed duplicate implementation for tool::object_create and tool::object_destroy check-in: 8c92016c75 user: tne tags: odie
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to modules/tool/pipeline.tcl.

1

2
3
4
5
6
7
8
::namespace eval ::tool::signal {}


proc ::tool::coroutine_register {objname coroutine} {
  variable all_coroutines
  variable object_coroutines
  variable coroutine_object
  # Wake a sleeping main loop
  set ::tool::wake_up 0

>







1
2
3
4
5
6
7
8
9
::namespace eval ::tool::signal {}
package require coroutine::auto

proc ::tool::coroutine_register {objname coroutine} {
  variable all_coroutines
  variable object_coroutines
  variable coroutine_object
  # Wake a sleeping main loop
  set ::tool::wake_up 0