#1260 closed defect (fixed)

POSIX threads signals blocked improperly initialized

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 4.8
Component: score Version: 4.6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

This line of code in _POSIX_Threads_Create_extension in pthread.c is obviously wrong:

api->signals_blocked = api->signals_blocked;

The line above is fetching _Thread_Executing into a local variable and POSIX threads should inherit the signals_blocked set from their creator.

This applies to 4.6 and later. Patch will follow.

Attachments (1)

pr1260.diff (763 bytes) - added by Joel Sherrill on Sep 14, 2007 at 1:42:25 PM.
Simple and obvious fix

Download all attachments as: .zip

Change History (2)

Changed on Sep 14, 2007 at 1:42:25 PM by Joel Sherrill

Attachment: pr1260.diff added

Simple and obvious fix

comment:1 Changed on Sep 14, 2007 at 1:47:05 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

closed.

Note: See TracTickets for help on using tickets.