bobjervis / parasol

The Parasol Language and related core development tools
Apache License 2.0
2 stars 2 forks source link

Array returns out of a monitor method should be locked #38

Open bobjervis opened 7 years ago

bobjervis commented 7 years ago

Currently, the compiler will lazily copy the array at the call site, which would be outside of any lock. That violates the promises of locked access to data.