Project

General

Profile

Actions

Task #1380

closed

Enable signal processing in main()

Added by Alex Afanasyev about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
Start date:
03/21/2014
Due date:
% Done:

100%

Estimated time:

Description

At least SIGINT and SIGTERM signals should be processed and NFD should be gracefully terminated.

Boost.Signal can be used for the implementation:

boost::asio::signal_set signalSet(<ioService>, SIGINT, SIGTERM);
signalSet.async_wait(callback);
Actions #1

Updated by Alex Afanasyev about 10 years ago

  • Assignee set to Alex Afanasyev
Actions #2

Updated by Alex Afanasyev about 10 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Alex Afanasyev about 10 years ago

  • Status changed from Code review to Closed
Actions #4

Updated by Alex Afanasyev about 10 years ago

Implemented in commit:5a4388a8

Actions

Also available in: Atom PDF