Skip to content

Threadpool threads does not block signals (SIGUSR1) #385

@klausholstjacobsen

Description

@klausholstjacobsen

I have a multithreaded application that uses signals (SIGUSR1) internally.
It also uses log4cplus 2.0.3.
I see from the source that threads started with AbstractThread::start() indeed does block signals.
But the thread pool theads does not blocvk signals, resulting in my SIGUSR1 being handled by one of the thread pool threads instead of my own signal handler.

How can I prevent any thread started inside log4cplus from handling signals?

Regards
Klaus

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions