source-academy / go-slang

Implementation of Go
Apache License 2.0
0 stars 1 forks source link

Concurrency #38

Open chengda300 opened 4 days ago

chengda300 commented 4 days ago

Implements mutex and fix defer and go statements to evaluate arguments when the program reaches the line of code instead of only when executing the deferred function call or goroutine.