ActiveBlog

Posts about parallel processing

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