On Thu, Mar 21, 2013 at 11:03, Taylan Ulrich B. wrote: > I'm a GNU Guile 2.0 user, whose latest versions require latest > versions of the Boehm garbage collector. This uses the functions > pthread_suspend_np and pthread_resume_np, when built on OpenBSD, which > don't exist in rthreads.
Right. Early working version of librthread had them, but all the ports that needed these functions (boehm, java, ...) switched to using a system based on signals. > Any general tips on how an application using the old API should be > ported to the new one are also welcome. One question would be, should > OpenBSD try to support functions from the old API on top of the new > one (would patches in this nature be desirable), or should > applications check for OpenBSD versions? Besides the existing boehm port, look at the history of the jdk port. We are not planning on adding the _np functions back. As the name implies, they are not portable, so it's better to come up with a different solution.
