Tcl Library Source Code

Check-in [bc1da3f33c]
Login

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

Overview
Comment:Removed the dependency on coroutine-auto for tool. Adds a dependency on coroutine (and on the developer's own head be it if he/she decides to invoke global and update in a coro.)
Timelines: family | ancestors | descendants | both | odie
Files: files | file ages | folders
SHA1: bc1da3f33cb2ee0ec0926e0010c16f9936acf106
User & Date: tne 2016-07-19 19:12:44
Context
2016-07-20
19:14
Moved the coroutine registration system from TOOL over to the cron module Refactored how the loop and panic alarm system works for timed events in tool/cron Bumped the versions for both cron and tool check-in: e6d8e5ee15 user: tne tags: odie
2016-07-19
19:12
Removed the dependency on coroutine-auto for tool. Adds a dependency on coroutine (and on the developer's own head be it if he/she decides to invoke global and update in a coro.) check-in: bc1da3f33c user: tne tags: odie
15:39
Merging changes from trunk check-in: b83ef84eec 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
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

|







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

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