Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CustomOp]Add RWLock to protect loading module under multi-thread and multi-process #38128

Merged
merged 3 commits into from
Dec 17, 2021

Conversation

Aurelius84
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

[CustomOp]Add RWLock to protect loading module under multi-thread

@Aurelius84 Aurelius84 requested a review from chenwhql December 14, 2021 09:13
@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Aurelius84 Aurelius84 changed the title [CustomOp]Add RWLock to protect loading module under multi-thread [CustomOp]Add RWLock to protect loading module under multi-thread and multi-process Dec 16, 2021
@Aurelius84 Aurelius84 closed this Dec 16, 2021
@Aurelius84 Aurelius84 reopened this Dec 16, 2021
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Dec 16, 2021
@PaddlePaddle PaddlePaddle unlocked this conversation Dec 16, 2021
Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

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

LGTM

@Aurelius84 Aurelius84 merged commit 8bc2701 into PaddlePaddle:develop Dec 17, 2021
Aurelius84 added a commit to Aurelius84/Paddle that referenced this pull request Dec 20, 2021
… multi-process (PaddlePaddle#38128)

* Add RWLock to protect loading module under multi-thread

* refine code

* remove import statement
lanxianghit pushed a commit that referenced this pull request Dec 24, 2021
… multi-process (#38128) (#38271)

[Cherry-pick][CustomOp]Add RWLock to protect loading module under multi-thread and multi-process (#38128)
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