mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 22:10:41 +01:00
disabling new input termination interface
a bug showed up during further testing. As this was a side-activity, I'll probably disable it for the time being and check what's going on somewhat later (I'll do it tomorrow if I can find it quickly)
This commit is contained in:
parent
cf4e3a4d99
commit
a5e8684b91
@ -92,13 +92,19 @@ rsRetVal thrdTerminate(thrdInfo_t *pThis)
|
||||
DEFiRet;
|
||||
assert(pThis != NULL);
|
||||
|
||||
#if 0 // TODO: somehow does not really work yet!
|
||||
if(pThis->bNeedsCancel) {
|
||||
#endif
|
||||
DBGPRINTF("request term via canceling for input thread 0x%x\n", (unsigned) pThis->thrdID);
|
||||
pthread_cancel(pThis->thrdID);
|
||||
#if 0 // TODO: somehow does not really work yet!
|
||||
if(pThis->bNeedsCancel) {
|
||||
} else {
|
||||
|
||||
DBGPRINTF("request term via SIGTTIN for input thread 0x%x\n", (unsigned) pThis->thrdID);
|
||||
pthread_kill(pThis->thrdID, SIGTTIN);
|
||||
}
|
||||
#endif
|
||||
pthread_join(pThis->thrdID, NULL); /* wait for input thread to complete */
|
||||
pThis->bIsActive = 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user