2 processes #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "(deleted):led_cris"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
2 processes
LGTM with some minor whitespace changes.
@ -40,3 +43,3 @@# CHANGE BELOW : spawn two workers and collect the resultshits = throw_darts(8_000_000)p1 = Process(target=throw_darts, args=(4_000_000,q))Minor thing, but pep8 says that a space should be added:
args=(4_000_000, q).@ -42,1 +45,3 @@hits = throw_darts(8_000_000)p1 = Process(target=throw_darts, args=(4_000_000,q))p1.start()p2 = Process(target=throw_darts, args=(4_000_000,q))Same here.
Pull request closed