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

logthrdestdrv: mainloop refactoring was to be able to use the same infra... #145

Merged
merged 1 commit into from
Jun 30, 2014

Conversation

juhaszviktor
Copy link
Contributor

...structure

for worker threads and io threads.

threadid allows LogQueueFifo to scale properly for input threads.
LogQueueFifo uses a fix size array for input threads, but threadid allocation
for threaded destination make this method wrong.

#85

The solution is, that the worker threads get threadid from range 65-128,
and the input threads (ivykis worker threads) get id from range 1-64 as before.

Signed-off-by: Juhász Viktor jviktor@balabit.hu

…frastructure

for worker threads and io threads.

threadid allows LogQueueFifo to scale properly for input threads.
LogQueueFifo uses a fix size array for input threads, but threadid allocation
for threaded destination make this method wrong.

syslog-ng#85

The solution is, that the worker threads get threadid from range 65-128,
and the input threads (ivykis worker threads) get id from range 1-64 as before.

Signed-off-by: Juhász Viktor <jviktor@balabit.hu>
algernon added a commit that referenced this pull request Jun 30, 2014
logthrdestdrv: mainloop refactoring was to be able to use the same infra...
@algernon algernon merged commit bf80225 into syslog-ng:master Jun 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants