Pthreads Hurd branch now in Savannah

2012-08-13 Thread Thomas DiModica
I don't know if anyone other than Barry has had a look at the pthreads based hurd that I had in a BitBucket repository, but now that Richard Braun has created a branch on the Savannah servers, I will be removing the BitBucket repo. The pthreads code is now in rbraun/hurd_with_pthreads. Thank you M

Re: Question about your libpthread

2012-08-13 Thread Neal H. Walfield
At Mon, 13 Aug 2012 11:54:17 +0200, Richard Braun wrote: > In addition, here you only mention the recylcing problem, not the > threadvar alignment problem. Or is there no such problem ? It's been a decade since I wrote the code, I've fotten a bit. I don't know offhand if there is a problem and I

Re: Question about your libpthread

2012-08-13 Thread Richard Braun
On Mon, Aug 13, 2012 at 11:38:02AM +0200, Neal H. Walfield wrote: > The problem has to do with the recycling of stacks. The problem is > that a thread cannot easily free its own stack when it exits. If it > frees its stack, it can't free it's kernel thread and vice versa. To > work around this,

Re: Question about your libpthread

2012-08-13 Thread Neal H. Walfield
I've add bug-hurd to the cc. At Mon, 13 Aug 2012 11:16:26 +0200, Richard Braun wrote: > > On Sun, Aug 12, 2012 at 07:03:06PM +0200, Neal H. Walfield wrote: > > But, if it is a generally useful function, I don't see why not to > > expose it as a general function. Just add _np at the end of the >