[concurrency] Common Concurrent Problems

James Mills prologic at shortcircuit.net.au
Wed Jun 10 13:25:12 CEST 2009


On Wed, Jun 10, 2009 at 9:08 PM, James
Mills<prologic at shortcircuit.net.au> wrote:
> I joined this list as concurrency and distributed systems interest me
> and after reading the current thread of converstation I thought I'd
> share my implementation of the problem with a library/framework
> I maintain called circuits (1)
>
> http://codepad.org/6VVLVZ6g
>
> This consists of a threaded Follow Component and 2 other components
> responsible for line-buffering and pattern-matching. Before I post
> my solution to the wiki, I'll extend my implementation a bit to
> following multiple files simultaneously.

Here is my 2nd implementation which relies on the non-blocking/asynchronous
File Component in circuits.io (which unfortunately is not cross-platform afaik)
but makes the implementation much simpler.

http://codepad.org/aPkqDFjA

cheers
James


More information about the concurrency-sig mailing list