--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
> >   local sRes = pipe.listen_on("powerpro", 0)
> 
> Is pipe multi-threaded -- ie does is spawn a thread for listening?

Yup.  

> Executing two scripts at once is not really possible from a single 
> thread.  However, it should be possible for a script to call a 
> plugin which in turn calls a script (eg call to file.allfiles from a 
> script could do this).  It should work fine, just like calling one 
> script from another works fine.

But it doesn't, apparently, in this case.  Symptoms are very much of
scripts getting entangled and then Powerpro crashing.  Trying to work
out why.

> > But why would sticking win.debug line make problem go away?  
> 
> Coudl be related to whatever windows routines are doing in writing 
> to dialog screen.
> 
> >> Related: is it possible you could expose something that would 
> allow a
> > plugin to detect whether a script was currently running inside
> > Powerpro?   
> > 
> > Maybe a PPROSERVICES* function bImBusyGoAway()?
> 
> No script can be "running" if single threaded.  A script could be 
> suspended waiting for a return from plugin call, but this should not 
> be a problem.

So once a script starts to run, it runs to completetion, no other
sctipt gets to start running?  Unless it's suspended?  







Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to