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 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. 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