Skip to content

Homework 5#110

Open
God1-ike wants to merge 1 commit intohardcode-dev:masterfrom
God1-ike:master
Open

Homework 5#110
God1-ike wants to merge 1 commit intohardcode-dev:masterfrom
God1-ike:master

Conversation

@God1-ike
Copy link

@God1-ike God1-ike commented Mar 2, 2025

No description provided.

Copy link
Collaborator

@spajic spajic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍

@@ -1 +1 @@
3.3.1
3.4.1 No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

A_SEMAPHORE = Async::Semaphore.new(3)
B_SEMAPHORE = Async::Semaphore.new(2)
C_SEMAPHORE = Async::Semaphore.new(1)
barriers = Hash.new { |hh, kk| hh[kk] = Async::Barrier.new }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

лайк за дефолтное значение

а почему hh, kk а не h, k 😄

end
end

result = a(collect_sorted(@c.values))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

красота

RESULT = 0bbe9ecf251ef4131dd43e1600742cfb
```

2) Ractor ... No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не стоит

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants