Ticket #5167 (closed feature request: fixed)

Opened 2 years ago

Last modified 2 years ago

New POSIX process group API

Reported by: Favonia Owned by: simonmar
Priority: high Milestone: 7.2.1
Component: libraries/unix Version: 7.0.3
Keywords: process group Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

API changes to Posix.Process in order to have two new features:

1. A different type for POSIX process group ID from POSIX process ID

2. Access to full power of POSIX process group API

Please see the following page for more information:  POSIX process group API reform proposal

Attachments

0001-Make-ProcessGroupID-a-newtype-of-CPid.patch Download (1.6 KB) - added by Favonia 2 years ago.
patch to the package base
0001-Change-the-POSIX-process-group-API.-trac-5167.2.patch Download (5.9 KB) - added by Favonia 2 years ago.
patch to the package unix
0002-Test-cases-for-the-new-process-group-API.patch Download (2.3 KB) - added by Favonia 2 years ago.
test cases for the package unix (version 3)
0001-Change-the-POSIX-process-group-API.-trac-5167.patch Download (4.5 KB) - added by Favonia 2 years ago.
patch to the package unix (version 3)

Change History

Changed 2 years ago by Favonia

patch to the package base

in reply to: ↑ description   Changed 2 years ago by Favonia

  • component changed from libraries/process to libraries/unix

Discussion on the libraries list has just started. No consensus has reached yet and this ticket is more like a place to hold patches and test cases. Please make any comments on the libraries list, thanks.

Changed 2 years ago by Favonia

patch to the package unix

  Changed 2 years ago by Favonia

Changed 2 years ago by Favonia

test cases for the package unix (version 3)

Changed 2 years ago by Favonia

patch to the package unix (version 3)

  Changed 2 years ago by Favonia

  • status changed from new to patch

The discussion thread has survived for two weeks on the mailing list. The patches have been modified according to Simon's suggestion except the name newProcess[For]. Please review attachment:0001-Change-the-POSIX-process-group-API.-trac-5167.patch Download attachment:0002-Test-cases-for-the-new-process-group-API.patch Download (and ignore other patch files).

PS: I need help in the documentation since I do not speak English. Please feel free to modify/improve the descriptions of functions.

  Changed 2 years ago by simonmar

  • owner changed from Favonia to simonmar
  • priority changed from normal to high
  • milestone set to 7.2.1

  Changed 2 years ago by simonmar

  • status changed from patch to closed
  • resolution set to fixed

Committed, thanks!

changeset:ff80c44c25ab6233fdd0180275c9981400007c1c changeset:6f88d3dd6e107c996b701b7f4fccaef171440722

(these links won't work until we import multiple repos into the GHC Trac)

Note: See TracTickets for help on using tickets.