On 12 June 2013 13:46, Glenn Fowler <[email protected]> wrote:
> the ast-ksh 2013-06-11 alpha source has been posted to
>         http://www.research.att.com/sw/download/alpha/
> its still a work in progress
> dgk and I are corrdinating the new vmalloc implementation vs signals
> in addition to the work dgk is doing in ksh vs signals

signals still do NOT work. For example my test below should print (
typeset -l -E i=200.00200 ) but as you can see below it doesn't sum
up:
ksh -c 'compound a=(float i=0) ; trap "((a.i+=.00001));kill -USR2 $$&
:" USR1 ; trap "((a.i+=1))" USR2 ; for ((j=0;j<200;j++));do kill -USR1
$$&;done ; true ; while ! wait ; do true;done;print ${a}'
( typeset -l -E i=58.00094 )
ksh -c 'compound a=(float i=0) ; trap "((a.i+=.00001));kill -USR2 $$&
:" USR1 ; trap "((a.i+=1))" USR2 ; for ((j=0;j<200;j++));do kill -USR1
$$&;done ; true ; while ! wait ; do true;done;print ${a}'
( typeset -l -E i=24.00048 )

Ced
-- 
Cedric Blancher <[email protected]>
Institute Pasteur
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to