Bug 142789 - ITIMER_REAL should be per-process, not per thread
Summary: ITIMER_REAL should be per-process, not per thread
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel   
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Brian Brock
Depends On:
Blocks: FC4Target
TreeView+ depends on / blocked
Reported: 2004-12-14 04:06 UTC by Roland McGrath
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version: FC4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-09 07:00:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch posted upstream (8.28 KB, patch)
2004-12-14 04:06 UTC, Roland McGrath
no flags Details | Diff

Description Roland McGrath 2004-12-14 04:06:44 UTC
*** This bug has been split off bug 118044 ***

Description of problem:
setitimer operates on individual threads, even under NPTL.
POSIX says it should be process-wide. 

Version-Release number of selected component (if applicable):

How reproducible:
Easily seen in a MT program

Steps to Reproduce:
1.Call setitimer in one thread
2.Exit the thread
3.Process never gets the ALRMs
Actual results:

Expected results:

Additional info:

Tracking bug for upstream work, patches on the way.

Comment 1 Roland McGrath 2004-12-14 04:06:44 UTC
Created attachment 108490 [details]
patch posted upstream

Comment 2 Roland McGrath 2005-03-13 04:16:43 UTC
My changes are in Linus's tree now, hopefully in 2.6.12  

Comment 3 Roland McGrath 2005-04-24 01:13:07 UTC
Rawhide 2.6.12rcN kernels have this.

Comment 4 Roland McGrath 2005-08-09 07:00:17 UTC
All good in FC4.

Note You need to log in before you can comment on or make changes to this bug.