Skip to content

Adding locks when manipulating the _session_cache object in case of multi-threading #1982

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

Closed
wants to merge 1 commit into from

Conversation

wiseaidev
Copy link
Contributor

@wiseaidev wiseaidev commented May 6, 2021

Signed-off-by: Harmouch101 [email protected]

What was wrong?

Related to Issue #1847

How was it fixed?

By acquiring and releasing a lock whenever a thread is trying to modify the shared cache session.

Todo:

Cute Animal Picture

🐕

@wiseaidev wiseaidev force-pushed the thread-safe-lru branch 6 times, most recently from e071d4e to 742352d Compare May 8, 2021 00:37
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.

1 participant