[plt-scheme] v4: object-name of port
yes I think you're misreading it.
Robby
On 2/5/08, Aleks Bromfield <aleks at cs.brown.edu> wrote:
> Er, meant to hit delete there, not send! Sorry about that.
>
> On Tue, Feb 05, 2008 at 09:35:55AM -0600, Robby Findler wrote:
> > I think this is the best thing to do: during the on-execute callback,
> > create a thread (on drscheme's space) that waits for the user's thread
> > to die (you can get a handle to the user's thread by using
> > run-on-user-thread and getting the value of (current-thread)). When it
> > dies, kill the ocaml process. Something like this (I didn't test this
> > code, but hopefully it is close enough to give you the idea):
>
> Suppose that I have two tabs, A and B, which have open the files a.ml
> and b.ml respectively. I switch to tab A, then click run. Then I switch
> to tab B, then click run. Now, I switch back to tab A. I want the
> interactions pane to be associated with the ocaml process from the last
> time I clicked run.
>
> The upshot of this is that I want more than one ocaml process to be
> around at a time, and I don't want clicking the "run" button to kill all
> of them.
>
> It doesn't seem like the code you suggested would solve that problem,
> but maybe I'm misreading it?
>
> ~ Aleks
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>