2 processes #1

Closed
Ghost wants to merge 2 commits from (deleted):led_cris into main

2 processes

2 processes
zbyszek approved these changes 2026-07-31 21:13:51 +02:00
zbyszek left a comment

LGTM with some minor whitespace changes.

LGTM with some minor whitespace changes.
@ -40,3 +43,3 @@
# CHANGE BELOW : spawn two workers and collect the results
hits = throw_darts(8_000_000)
p1 = Process(target=throw_darts, args=(4_000_000,q))
Owner

Minor thing, but pep8 says that a space should be added: 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))
Owner

Same here.

Same here.
Ghost closed this pull request 2026-07-31 21:26:34 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ASPP/2026-latam-parallel-python!1
No description provided.