laixintao / laixintao/python-parallel-programming-cookbook-cn
ch2.10 clear event是否准确
Open
Nobody has claimed this yet.
need help
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
总觉的set event之后马上clear很神经病,不明白为什么这个设计,如果有多个线程是否能合适工作,是否应该是消费者收到事件之后clear
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with chapter 2.10 and the Event example it discusses, then compare its set/clear behavior with Python's threading.Event documentation. Verify the behavior for multiple threads and the proposed consumer timing; done means the chapter clearly explains the intended semantics or corrects the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100