Skip to content

Better mainloop and worker exit#5546

Merged
HofiOne merged 4 commits intosyslog-ng:developfrom
HofiOne:better-mainloop-and-worker-exit
Oct 27, 2025
Merged

Better mainloop and worker exit#5546
HofiOne merged 4 commits intosyslog-ng:developfrom
HofiOne:better-mainloop-and-worker-exit

Conversation

@HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Oct 22, 2025

  • fixed the setting of the worker job exit signaling
  • added the ability for the workers not to use the request_exit function
  • added the ability for the workers to wait without significant resource usage, but react to the exit request at the same time

Depends on: #5548

@HofiOne HofiOne force-pushed the better-mainloop-and-worker-exit branch from 8af002e to 059a26b Compare October 22, 2025 18:39
@HofiOne HofiOne marked this pull request as ready for review October 22, 2025 19:25
@HofiOne HofiOne force-pushed the better-mainloop-and-worker-exit branch from 059a26b to ca76162 Compare October 23, 2025 09:11
@HofiOne HofiOne force-pushed the better-mainloop-and-worker-exit branch 3 times, most recently from 71a48aa to 0e3fc1e Compare October 24, 2025 11:45
… the threads when exactly they should exit, and allowed them to work again

Signed-off-by: Hofi <[email protected]>
…cant resource usage and terminate if requested during the sleep

Signed-off-by: Hofi <[email protected]>
@HofiOne HofiOne force-pushed the better-mainloop-and-worker-exit branch from 0e3fc1e to 936d220 Compare October 27, 2025 08:32
@HofiOne HofiOne requested a review from kovgeri01 October 27, 2025 08:41
@HofiOne HofiOne merged commit ce65735 into syslog-ng:develop Oct 27, 2025
24 of 119 checks passed
@HofiOne HofiOne deleted the better-mainloop-and-worker-exit branch October 27, 2025 09:10
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.

2 participants