Skip to content

Modified signal handler to avoid async-unsafe functions#96

Closed
zzxuanyuan wants to merge 3 commits into
root-project:masterfrom
zzxuanyuan:segfault
Closed

Modified signal handler to avoid async-unsafe functions#96
zzxuanyuan wants to merge 3 commits into
root-project:masterfrom
zzxuanyuan:segfault

Conversation

@zzxuanyuan
Copy link
Copy Markdown
Contributor

This patch reimplemented signal handling in CMSSW. It avoids async-unsafe functions in signal handler.

For reference, see the link https://github.com/bbockelm/cmssw/blob/stacktrace_handler_revisit/FWCore/Services/src/InitRootHandlers.cc

I tried this patch with some simple multi-thread test cases and it worked fine. Is there any complicated test cases I can run? I think this patch is not very ready to merge, but it achieved basic functions. Any criticisms are welcome.

@zzxuanyuan zzxuanyuan closed this Oct 6, 2015
@zzxuanyuan zzxuanyuan deleted the segfault branch October 6, 2015 05:00
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.

1 participant