Re: Thread local data setup and destruct

2021-01-04 Thread Otto Moerbeek
On Mon, Jan 04, 2021 at 06:03:46PM +0100, Mark Kettenis wrote: > > Date: Sun, 3 Jan 2021 13:47:45 +0100 > > From: Otto Moerbeek > > > > On Thu, Dec 31, 2020 at 05:54:06PM +0100, Alexander Bluhm wrote: > > > > > On Tue, Dec 29, 2020 at 04:07:19PM +0100, Otto Moerbeek wrote: > > > > This workds

Re: Thread local data setup and destruct

2021-01-04 Thread Mark Kettenis
> Date: Sun, 3 Jan 2021 13:47:45 +0100 > From: Otto Moerbeek > > On Thu, Dec 31, 2020 at 05:54:06PM +0100, Alexander Bluhm wrote: > > > On Tue, Dec 29, 2020 at 04:07:19PM +0100, Otto Moerbeek wrote: > > > This workds better, checking the flags does not work if the thread is > > > already on the

Re: Thread local data setup and destruct

2021-01-03 Thread Otto Moerbeek
On Thu, Dec 31, 2020 at 05:54:06PM +0100, Alexander Bluhm wrote: > On Tue, Dec 29, 2020 at 04:07:19PM +0100, Otto Moerbeek wrote: > > This workds better, checking the flags does not work if the thread is > > already on the road to desctruction. > > This diff survived a full regress run on amd64.

Re: Thread local data setup and destruct

2020-12-31 Thread Alexander Bluhm
On Tue, Dec 29, 2020 at 04:07:19PM +0100, Otto Moerbeek wrote: > This workds better, checking the flags does not work if the thread is > already on the road to desctruction. This diff survived a full regress run on amd64. bluhm > Index: asr/asr.c >

Re: Thread local data setup and destruct

2020-12-29 Thread Mark Kettenis
> Date: Tue, 29 Dec 2020 16:07:19 +0100 > From: Otto Moerbeek > > On Tue, Dec 29, 2020 at 01:42:57PM +0100, Otto Moerbeek wrote: > > > On Tue, Dec 29, 2020 at 12:46:54PM +0100, Mark Kettenis wrote: > > > > > > Date: Tue, 29 Dec 2020 12:21:25 +0100 > > > > From: Otto Moerbeek > > > > > > > >

Re: Thread local data setup and destruct

2020-12-29 Thread Otto Moerbeek
On Tue, Dec 29, 2020 at 01:42:57PM +0100, Otto Moerbeek wrote: > On Tue, Dec 29, 2020 at 12:46:54PM +0100, Mark Kettenis wrote: > > > > Date: Tue, 29 Dec 2020 12:21:25 +0100 > > > From: Otto Moerbeek > > > > > > Hi, > > > > > > this is a continuation from the threads on bugs@ > > > > > >

Re: Thread local data setup and destruct

2020-12-29 Thread Otto Moerbeek
On Tue, Dec 29, 2020 at 12:46:54PM +0100, Mark Kettenis wrote: > > Date: Tue, 29 Dec 2020 12:21:25 +0100 > > From: Otto Moerbeek > > > > Hi, > > > > this is a continuation from the threads on bugs@ > > > > This version makes it explicit to *only* setup "TLS" (which actually > > is just a

Re: Thread local data setup and destruct

2020-12-29 Thread Mark Kettenis
> Date: Tue, 29 Dec 2020 12:21:25 +0100 > From: Otto Moerbeek > > Hi, > > this is a continuation from the threads on bugs@ > > This version makes it explicit to *only* setup "TLS" (which actually > is just a pointer to static data) with the data provided if we're > running single threaded