Hi, > > How to enable rthreads in -current? > > > > Old way with RTHREADS kernel option and ln -s librthread doesn't work > anymore. > > Are you trying to make it hard to help you? Imprecise description of > what you did; *no* description of how the results differ from your > expectations.
My apologies for not providing enough information. I have 2 computers, thinkpad T42 (i386) and sun ultra 10 (sparc64). Both are running current. I've tried to check in the kernel configuration files (GENERIC) where I can enable RTHREADS option, but couldn't find one. $ uname -a OpenBSD ultra.home.lan 4.3 GENERIC#1614 sparc64 $ # find / -name librthre* /usr/src/lib/librthread # The goal of my exercise is to check how much more responsive RTHREADS is vs PTHREADS scheduler on network level (i.e. shorter ping _response_ times, etc). > (I use rthreads myself for a few programs, though I had to patch a > number of bugs in the kernel support and librthread to make it stable > and there are still issues when used with several programs. The patch > set I use can be found in the archives.) I have tried to apply the patch to fresh source, only to see all 5 steps fail. ------------------------- Patching file lib/librthread/rthread_sync.c using Plan A... Hunk #1 failed at 53. Hunk #2 failed at 60. Hunk #3 failed at 83. Hunk #4 failed at 437. Hunk #5 failed at 446. 5 out of 5 hunks failed--saving rejects to lib/librthread/rthread_sync.c.rej done # Thanks for any cluesticks in advance, Maxim

