|
|
|
countThreads
outputs the current number of Logo threads which have been started using the primitive Thread.
Example:
repeat 10 [Thread [repeat 1000 [print countThreads waitMS 100]]] |
3 3 6 6 8 10 10 ... ;lots of 10s... 10 10 9 9 8 |
|
|
|