Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 313 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 313 Bytes

Cooperative-Threads

This small Javascript program emulates the behaviour of a cooperative thread system, executing concurrently different thunks of code. It is implemented using Continuations provided by the Javascript Rhino implementation.

# execution of a test
cd tests
rhino -opt -2 <testFile.js>