Support NetBSD libpthread by implementing the _lwp_fun() interface.