Tue, 10 Apr 2012 11:10:09 -0700 P>Q Philip Guenther <[email protected]>:
> On Tue, Apr 10, 2012 at 10:41 AM, Mo Libden <[email protected]> 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 this case as not supported.
> >
> > Do I need to link the program against another library? Anything else?
> 
> 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.

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.

> As for how to do
> that, well, to quote section 5.1 of the FAQ:
> ------
> One should also understand that the upgrade process is supported in
> only one direction: from older to newer, and from -stable to -current.
> You can not run 5.0-current (or a snapshot), then decide you are
> living too dangerously, and step back to 5.0-stable. You are on your
> own if you choose any path other than the supported option of
> reloading your system from scratch, do not expect assistance from the
> OpenBSD development team.
> ------
> 
> 
> Philip Guenther

Reply via email to