diff options
author | glenda <glenda@cirno> | 2022-09-19 09:48:38 +0000 |
---|---|---|
committer | glenda <glenda@cirno> | 2022-09-19 09:48:38 +0000 |
commit | 469e6f333dda94b706c5a9f39eef715c970db9a5 (patch) | |
tree | eae8663d1da6722876ae3a43f613e3a32970b8cb /demos/intro.apl | |
parent | adb643fc8130cd396acf08153f75e2f1cd059bd7 (diff) |
Update demos
Diffstat (limited to 'demos/intro.apl')
-rw-r--r-- | demos/intro.apl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/demos/intro.apl b/demos/intro.apl index 17e3616..43da2b6 100644 --- a/demos/intro.apl +++ b/demos/intro.apl @@ -9,13 +9,14 @@ us message ⍈ us ⍝ Let's examine the state of the system -us ⎕threads 0 ⍝ Thread ID -us ⎕threads 1 ⍝ Thread name -us ⎕threads 2 ⍝ Number of messages in mailbox -us ⎕threads 3 ⍝ Approximate C stack usage (in bytes) +us ⎕threads 0 ⍝ Thread ID +us ⎕threads 1 ⍝ Thread name +us ⎕threads 2 ⍝ Number of messages in mailbox +us ⎕threads 3 ⍝ Approximate C stack usage (in bytes) +us ⎕threads 4 ⍝ Number of dfn stack frames ⍝ All at once, for all currently running threads -⎕threads 0 1 2 3 +⎕threads 0 1 2 3 4 ⍝ We have one message in our mailbox, let's receive it ⍝ The recieve primitive is a monadic operator |