 :: flag-test-3 ( -- )
     [let | f [ <flag> ] |
         f raise-flag
-        f flag-value?
+        f value>>
     ] ;
 
 [ t ] [ flag-test-3 ] unit-test

    [let | f [ <flag> ] |
        [ f raise-flag ] "Flag test" spawn drop
        f wait-for-flag
        f flag-value?
    ] ;

[ t ] [ flag-test-4 ] unit-test

    [let | f [ <flag> ] |
        [ 1000 sleep f raise-flag ] "Flag test" spawn drop
        f wait-for-flag
        f value>>
    ] ;

[ t ] [ flag-test-5 ] unit-test
