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.

I've read that rthreads are just processes, albeit with a special flag
set and sharing certain resources.  It seems they can be sent usual
signals with pthread_kill.  Should sending SIGSTOP and SIGCONT to an
rthread have the same behavior of using pthread_suspend_np and
pthread_resume_np in the old API?  Any information on how I could
answer this question myself would be much appreciated, I'm yet quite
ignorant on the topic.

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?

Regards,
Taylan

Reply via email to