Changeset 8645a578630798b9859f7cdccef6c78300efae11
- Timestamp:
- 02/28/12 21:44:34
(1 year ago)
- Author:
- Philip Maddox <pmaddox@circonus.com>
- git-committer:
- Philip Maddox <pmaddox@circonus.com> 1330465474 -0500
- git-parent:
[c4bfda41ac34a173e53c73725b8ccc799eb29bba]
- git-author:
- Philip Maddox <pmaddox@circonus.com> 1330465474 -0500
- Message:
Fixed a bug in the external module where the main handling thread would only allow one interruption by moving the signal handling setup into the loop.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rec0f79b |
r8645a57 |
|
| 249 | 249 | } |
|---|
| 250 | 250 | |
|---|
| 251 | | signal(SIGCHLD, external_sigchld); |
|---|
| 252 | 251 | noit_skiplist_init(&active_procs); |
|---|
| 253 | 252 | noit_skiplist_set_compare(&active_procs, __proc_state_check_no, |
|---|
| … | … | |
| 265 | 264 | int16_t argcnt, *arglens, envcnt, *envlens; |
|---|
| 266 | 265 | int i; |
|---|
| | 266 | |
|---|
| | 267 | signal(SIGCHLD, external_sigchld); |
|---|
| 267 | 268 | |
|---|
| 268 | 269 | /* We poll here so that we can be interrupted by the SIGCHLD */ |
|---|