Modify

Ticket #6657 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

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

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

Change History

Changed 2 years ago by Thomas Sanchez

comment:1 Changed 2 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 2 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 2 years ago by chris_kohlhoff

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

(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.
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
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.