Re: thread behavior

2017-09-04 Thread Brandon Allbery
On Mon, Sep 4, 2017 at 6:18 AM, Elizabeth Mattijsen wrote: > That can not be relied on in general, I’m afraid. However, after some > discussion, it appears that there is some support for an > "is-initial-thread” method: > >

Re: thread behavior

2017-09-04 Thread Elizabeth Mattijsen
> On 4 Sep 2017, at 10:44, JuhiMarcel LangbroekTimmerman > wrote: > Thanks for your anwer. I assume there are a few things I can rely on; > - the main thread is where the code starts and will always have id 1 That can not be relied on in general, I’m afraid. However, after

Re: thread behavior

2017-09-04 Thread JuhiMarcel LangbroekTimmerman
Hi liz, Thanks for your anwer. I assume there are a few things I can rely on; - the main thread is where the code starts and will always have id 1 - a continuation of statements/blocks will always be excecuted on the same thread except for those hyper thingies which are again separate blocks or

Re: thread behavior

2017-09-04 Thread Elizabeth Mattijsen
> On 4 Sep 2017, at 09:29, Marcel Timmerman wrote: > I was wondering about the following, > > When an Exception is thrown in a thread and is CATCHed in another object, > will that block be run in the same thread as the Exception is thrown? I think from 6.d onward, you can