Re: how to get userland pthreads working?

2012-04-12 Thread Alexandre Ratchov
On Wed, Apr 11, 2012 at 02:00:28AM -0700, Philip Guenther wrote: BTW, any particular reason for wanting to switch back? Something not working right or a regression in performance or behavior? They behave differently; with rthreads multi-threaded processes tend to get more cpu than single

Re[2]: how to get userland pthreads working?

2012-04-11 Thread Mo Libden
Tue, 10 Apr 2012 11:10:09 -0700 PQ Philip Guenther guent...@gmail.com: On Tue, Apr 10, 2012 at 10:41 AM, Mo Libden m0lib...@mail.ru wrote: I wrote a two string program to check rthreads, it looks really interesting! I am interested how do I get pure userland library back in case I need?

Re: how to get userland pthreads working?

2012-04-11 Thread Philip Guenther
On Wed, Apr 11, 2012 at 12:28 AM, Mo Libden m0lib...@mail.ru wrote: Tue, 10 Apr 2012 11:10:09 -0700 PQ Philip Guenther guent...@gmail.com: ... Running -current with userland threads is not supported. If you need userland threads, you need to run 5.1 or earlier. That was what I really

Re: how to get userland pthreads working?

2012-04-11 Thread Mo Libden
Wed, 11 Apr 2012 02:00:28 -0700 PQ Philip Guenther guent...@gmail.com: On Wed, Apr 11, 2012 at 12:28 AM, Mo Libden m0lib...@mail.ru wrote: Tue, 10 Apr 2012 11:10:09 -0700 PQ Philip Guenther guent...@gmail.com: ... Running -current with userland threads is not supported. If you need

how to get userland pthreads working?

2012-04-10 Thread Mo Libden
Hi! I wrote a two string program to check rthreads, it looks really interesting! I am interested how do I get pure userland library back in case I need? Just setting kern.rthreads=0 seems to be not enough: pthread_create() fails this case as not supported. Do I need to link the program against

Re: how to get userland pthreads working?

2012-04-10 Thread Philip Guenther
On Tue, Apr 10, 2012 at 10:41 AM, Mo Libden m0lib...@mail.ru wrote: I wrote a two string program to check rthreads, it looks really interesting! I am interested how do I get pure userland library back in case I need? Just setting kern.rthreads=0 seems to be not enough: pthread_create() fails