on OpenBSD you'll need to copy over rfork_thread and roll
your own {get,set}context functions. however as Russ mentioned,
you don't really need to use OpenBSD's ucontext_t (sigcontext)
for this.tim > Hi all, > is there anybody interested in helping to port the > plan9 from user space to amd64/x86_64? > The most platform dependend code seems to be the libthread > stuff. On OpenBSD-amd64 I can borrow an assembler version of > rfork_thread from the OpenBSD librthread and can improvise > the _tas function. The get/setmcontext pose a problem because > I do not know if struct ucontext must really be exactly the same > as struct sigcontext. > > Best regards, > > Matthias
