Ticket #592 (closed feature request: duplicate)

Opened 7 years ago

Last modified 4 years ago

signal handlers should be able to access siginfo_t information

Reported by: simonmar Owned by: simonmar
Priority: normal Milestone: 6.12.1
Component: libraries/unix Version: 6.4.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: N/A Blocked By:
Blocking: Related Tickets:

Description

Currently a Haskell signal handler doesn't get much information at all. There ought to be a way to access all the information that the C signal handler gets (siginfo_t).

There might be some implementation trickiness: we have to stash away the siginfo_t somewhere in the signal handler, and we have to do that without using malloc().

Change History

Changed 7 years ago by igloo

  • testcase set to N/A
  • difficulty set to Unknown
  • os set to Unknown
  • architecture set to Unknown
  • milestone set to 6.8

Changed 6 years ago by simonmar

  • component changed from libraries/base to libraries/unix
  • milestone changed from 6.8 branch to 6.10 branch

Changed 5 years ago by simonmar

See also #1520

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple

Changed 4 years ago by simonmar

Update: the code to provide access to siginfo is now in, we just need to expose the API.

Thu Feb 19 02:05:32 PST 2009  Simon Marlow <marlowsd@gmail.com>
  * Rewrite of signal-handling.

Changed 4 years ago by simonmar

  • owner set to simonmar

Changed 4 years ago by igloo

  • milestone changed from 6.10 branch to 6.12.1

Changed 4 years ago by simonmar

  • status changed from new to closed
  • resolution set to duplicate

Subsumed by #2451

Note: See TracTickets for help on using tickets.