[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 3e4db1: include sys/ucontext.h unconditionally in sqUnixMa...

Christian Kellermann ckeen at pestilenz.org
Mon Dec 11 09:18:06 UTC 2017


Hi Eliot,

* Eliot Miranda <eliot.miranda at gmail.com> [171211 05:30]:
> > There is no uc_mcontext, ucontext_t lives in <signal.h> and is a
> > typedef for struct sigcontext. Why is this needed exactly?

> The VM profiler samples the of periodically, storing it in a
> circular buffer.  On unix this is fine by delivering a signal and
> having the signal handler access the interrupted pc through the
> supplied uc_mcontext

How can I test this? So that we don't hide another incompatibility
here...

Kind regards,

Christian

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.


More information about the Vm-dev mailing list