Modify

Opened 5 years ago

Closed 5 years ago

#6657 closed Bugs (fixed)

mac os x: signal_set does not notify the handler

Reported by: Thomas Sanchez Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.49.0 Severity: Problem
Keywords: asio signal_set signal Cc:

Description

When a signal_set is created with an io_service which was initialized with a concurrency_hint =1: No signals will be notified.

A file to reproduce the bug is attached.

I was not able to reproduce the bug on a Linux.

Attachments (1)

test.cpp (872 bytes) - added by Thomas Sanchez 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Thomas Sanchez

comment:1 Changed 5 years ago by Thomas Sanchez <thomas.sanchz@…>

Hum, I forgot to add that the bug was triggered on a mac os X Lion.

comment:2 Changed 5 years ago by chris_kohlhoff

(In [78739]) Use the thread's private_op_queue for handlers returned by the reactor task. This fixes a problem where signal_set handlers are not being called when the io_service's concurrency hint is set to 1. Refs #6657.

comment:3 Changed 5 years ago by chris_kohlhoff

  • Resolution set to fixed
  • Status changed from new to closed

(In [78740]) Merge from trunk:

  • Add support for g++ 4.7 when compiling in C++11 mode. Update revision history. Fixes #6620.
  • Use the thread's private_op_queue for handlers returned by the reactor task. This fixes a problem where signal_set handlers are not being called when the io_service's concurrency hint is set to 1. Fixes #6657.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain chris_kohlhoff.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.