ActiveBlog

Posts about concurrency

Concurrency in Tcl: Talking Heads

By Andreas Kupries, June 3, 2010

This is the third and last article in the "Concurrency in Tcl" series. The previous postings introduced event handling and threading as possible solutions to the problem of executing several things at the same time, using examples which required basically no communication between the various parts at all.

Category: tcl

Concurreny in Tcl: Weaving Threads

By Andreas Kupries, May 10, 2010

Introduction

In the previous article we talked about pseudo-concurrency through events and mentioned threads as one possible solution to some of their limitations. This second article expands on that.

Threads compared to Events

First, in contrast to events, only the C level foundations are built into the core. Script access to threads requires a package: Thread.

Category: tcl

Concurrency in Tcl: Events without getting Twisted

By Andreas Kupries, May 6, 2010

So you wish to perform several things in parallel, or at least concurrently enough that the user can believe they are happening in parallel? Tcl supports this in multiple ways, actually too many for a single post to cover, so this post is the start of a small series about concurrency in Tcl. Here we'll talk about events and their management, followed by a post about threads, and finally a post about how we can make the parts of a parallel application talk to each other.

Category: tcl
Syndicate content