Skip to content

Handle signals with boost Asio#3500

Open
eelstork wants to merge 1 commit intoBVLC:masterfrom
BonsaiAI:x-platform-signal-handling
Open

Handle signals with boost Asio#3500
eelstork wants to merge 1 commit intoBVLC:masterfrom
BonsaiAI:x-platform-signal-handling

Conversation

@eelstork
Copy link
Contributor

Referring #2253 and #2012, signal handling was implemented in Caffe using sigaction. I suggest a cross platform implementation.
@willyd proposed using Boost Asio to make signal handling more cross platform.
@ronghanghu as you were involved in testing the original implementation, would you please have a look at this?

@longjon
Copy link
Contributor

longjon commented Dec 31, 2015

I'm not ready to review in detail, but this looks like like a good direction; we already have a strong boost dependency, and this seems to simplify the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments