manuel-serrano / bigloo

a practical Scheme compiler
http://www-sop.inria.fr/indes/fp/Bigloo
Other
135 stars 19 forks source link

pthread modifications and corrections #47

Closed donaldsonjw closed 3 years ago

donaldsonjw commented 3 years ago

Use pthread_cancel and the PTHREAD_CANCEL_DEFERRED cancel type to achieve safer, but not safe, thread-terminate! behavior.

Correct the semantics of the java implementation of condition variables. When condition-variable-wait! returns, regardless of success or failure, the associated mutex should be locked.

thread-sleep was not updated when the standard bigloo sleep procedure was moved to microseconds. Make sure we pass microseconds not milliseconds.

manuel-serrano commented 3 years ago

Hi Joe,

All my apologizes for such a late pull. Thank you very much for your help and your contribution.