pthread

Bindings for the pthread library. http://github.com/tweag/pthread

Latest on Hackage:0.2.1

See all snapshots pthread appears in

BSD-3-Clause licensed by Tweag I/O
Maintained by [email protected]

Module documentation for 0.2.0

This version can be pinned in stack with:[email protected]:0852067aea5a4539ea754ee377eb67bf0efbe18f7f54c45a911065e4f4844e39,1109

pthread: Bindings for pthread

CircleCI

Sponsors

         Tweag I/O              LeapYear

pthread is maintained by Tweag I/O.

Have questions? Need help? Tweet at @tweagio.

Changes

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

Unreleased

Added

Changed

[0.2.0] - 2017-11-06

Added

  • Bindings for managing threads (create, join, exit, cancel).
  • Requirement to link with -threaded if using the new bindings.
  • Tests for create, join and exit.
  • An exception datatype for the boundness check.

Changed

  • Renamed module to System.Posix.Thread.
  • Renamed functions to createKey and deleteKey.
  • Show error code on failure.

[0.1.1] - 2017-09-28

Changed

  • Fixed the URL to the pthread repo in the cabal file.

[0.1] - 2017-09-28

Added

  • Bindings for thread-local storage management.