Re: Single instance module and multithreading

From: mitchell <mforal.n....at.gmail.com>
Date: Sun, 22 Feb 2009 18:04:50 -0800 (PST)

Alex,

> So, does it work for you when you actually invoke textadept.io.open
> (..)? Nothing happens over here if I call textadept.io.open(..) or
> textadept.print(..) from the received(text) function.
>
> Why would you think that this function runs in the main thread? After
> all, you pass it as an argument to a lane.

You are correct. I guess I am still unsure as to how exactly Lanes
functions. I am thinking passing by reference, not by value. It
appears Linda and executing commands on 'view_switch' is the way to
go.
Received on Sun 22 Feb 2009 - 21:04:50 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:31 EST