Wed, 11 Apr 2012 02:00:28 -0700 P>Q Philip Guenther <[email protected]>: > On Wed, Apr 11, 2012 at 12:28 AM, Mo Libden <[email protected]> wrote: > > Tue, 10 Apr 2012 11:10:09 -0700 P>Q Philip Guenther <[email protected]>: > ... > >> 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 needed. Thank you! > > > > It is not stated clearly in the pthreads man page. > > The man page still says it is a userland library implementation, > > which obviously is not true anymore. That's why I asked. > > Perhaps if we hit a blocker that would keep rthreads from being ready > for the 5.2 release we'll be reverting the switch. Some parts of the > docs might not be updated until we are confident that won't occur.
Thank you, that's clear. I hope rthreads will make it, they're hot :-) > BTW, any particular reason for wanting to switch back? Something not > working right or a regression in performance or behavior? No, nothing in particular. I just used to think ahead of other possible scenarios like "what if this something goes wrong, how do i..." Since rthreads seem to be controlled with sysctl, I had impression that setting kern.rthreads=0 would turn old libpthread back. Like libpthread has some kind of check for kern.rthreads and chooses what functions to use according to the value. Now, thanks to you I know how the things currently are. > > Now, for the following, what's up with the immediate disclaimers? > > Only asked a question, sheesh. Nobody asked for support or > > anything similar. Being with OpenBSD since 1996, I kinda know the > > versioning and the terms for the support. > > Ah misc@, where half the people need the FAQ read to them and the > other half are insulted when someone tries to answer the obvious next > question. No, in my head it's not "obvious next question". If I had come with some problem like "i compile package X and it fails with rthreads", that might be the case. However, my e-mail started with "I wrote a two string program to check rthreads, it looks really interesting!" So it is obvious I was just playing around with this, looking how the rthreads are processed by the OS (checked OS tools like ps, top etc.). Anyway, we can drop this part :-) > Philip Guenther Thanks!

