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

Add support to have IsCached and UseSeparateThreadToWrite properties set to True at the same time #16

Closed
jachguate opened this issue Apr 1, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jachguate
Copy link
Owner

jachguate commented Apr 1, 2022

Actually, if both are set to true, the cache mechanism doesn't work, but the messages are directly written using the auxiliary trheads.

When WriteCachedLog is called, the CACHED LOG BEGIN/END messages are written in the context of the calling thread and not using the writer's own threads.

When both are set to true, the messages have to be cached and when WriteCachedLog is called the threads created for that purpose have to do the actual work.

@jachguate jachguate added the enhancement New feature or request label Apr 1, 2022
@jachguate jachguate added this to the v 2.2 milestone Apr 1, 2022
@jachguate jachguate self-assigned this Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant