On Mon, Jul 30, 2012 at 9:47 PM, Phong Vo <k...@research.att.com> wrote:
>
>> Mhhh... wasn't there a way to do a longjmp from a signal handler
>> (|siglongjmp()|) ? If AST |malloc()| is (still) async-signal safe
>> (that's a question for kpv) then a builtin could _optionally_ use this
>> way to enable all signals and do a |siglongjmp()| to a safe point
>> within itself for resource cleanup...
>> ... would that work ?
>
> Some space may be lost forever from getting reused because the respective 
> data structures will
> remain locked after a longjmp. Otherwise, safe.

(Not stressing my imagination how this should possibly work without
twisting all 11 dimensions of the multiverse) Is there a way to
construct a |siglongjmp()| wrapper which avoids this ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to