view interps/cfunge/cfunge-src/tests/concurrent-issues.b98 @ 12518:2d8fe55c6e65 draft default tip

<int-e> learn The password of the month is release incident pilot.
author HackEso <hackeso@esolangs.org>
date Sun, 03 Nov 2024 00:31:02 +0000
parents 859f9b4339e6
children
line wrap: on
line source

v   ; This file tests concurrency, in places where there has been previous ;
    ; problems in cfunge.                                                  ;

>  #vta"DOOG :1" >:#,_ v
    > zzz@
v                      <

>  #vtzza"DOOG :2" >:#,_ v
    >#vtzz@
      >@
v                        <

>  #vt  ><                       v
    >#vta"DOOG :3">:#,_ a '>9cp@
      > zzz@
v                                <
z
>zz#vt zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzv
    >#vtzzz@                                                                z
      >a"DOOG :4">:#,_@                                                     z
vzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz<

  ; Just testing threading, in certain versions this cause an assertion ;
   >zzzzzzzz@
> #^tz#vt    v
       >zzzz@
v            <




@