Hi,

I’m not sure I understand your proposal.

But looking more at the code I need to port, an interpreter, I think
the main issue is that the interpreter relies on sigvtalarm as
a way to preempt the interpreted program while allowing
the user program to use only sigalarm. So more generally
the problem is how can I have two alarms in plan9? I see only
one alarm signal in ape, SIGALRM. There is no SIGVTALRM.



> On Apr 29, 2015, at 9:47 AM, erik quanstrom <quans...@quanstro.net> wrote:
> 
> On Tue Apr 28 21:30:24 PDT 2015, aryx.pada...@gmail.com wrote:
>> Hi,
>> 
>> I’m trying to port some code to plan9 using APE
>> but I can’t find the setitimer function in any include/ape/ files.
>> What is the equivalent to setitimer under plan9?
> 
> if you're ok on using nsec() as your time source, select(3) as posix would
> have it, will do.
> 
> - erik
> 


Reply via email to