Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#980 closed task (fixed)


Reported by: simons Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


forkChild is a variant of forkIO that spawns a concurrent "IO a" computation, and returns a "Child a" handle that can be used to obtain the "a" value once the computation has terminated.

parIO is a combinator that runs two "IO a" computations concurrently and returns the "a" value of the computation that terminates first.

timeout wraps an "IO a" computation to "IO (Maybe a)" and returns "Nothing" if the computation doesn't terminate within a specified time period.

Change History (5)

comment:1 Changed 10 years ago by simons

  • Summary changed from forkChild, waitForChild, parIO, and timeout to timeout
  • Type changed from proposal to task

There was no interest in parIO or any of the other primitives.

Over the course of the discussion, a very nice timeout implementation emerged in, but no-one found the time to prepare it for submission to the libraries.

comment:2 Changed 10 years ago by igloo

  • Milestone set to _|_

comment:3 Changed 10 years ago by simonmar

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

Now done.

comment:4 Changed 8 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:5 Changed 8 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.