Re: Single instance module and multithreading

From: mitchell <mforal.n....at.gmail.com>
Date: Sun, 22 Feb 2009 16:56:42 -0800 (PST)

Alex,

> Your proof of concept works because you do not actually try to open
> the file in TA. ;)

The 'recieved' function is in the main Textadept thread. Any text
passed to it can be executed via loadstring. The parallel thread knows
nothing about the textadept table or anything else for that matter.
All it focuses on is reading data from a socket (such as a Lua command
like 'textadept.io.open("foo")') and passes it to the callback
function for processing.
Received on Sun 22 Feb 2009 - 19:56:42 EST

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