summaryrefslogtreecommitdiff
path: root/rts/Pool.c
Commit message (Collapse)AuthorAgeFilesLines
* Prefer #if defined to #ifdefBen Gamari2017-04-281-6/+6
| | | | Our new CPP linter enforces this.
* rts: Replace `nat` with `uint32_t`Erik de Castro Lopo2016-05-051-11/+11
| | | | | | | | | | | | The `nat` type was an alias for `unsigned int` with a comment saying it was at least 32 bits. We keep the typedef in case client code is using it but mark it as deprecated. Test Plan: Validated on Linux, OS X and Windows Reviewers: simonmar, austin, thomie, hvr, bgamari, hsyl20 Differential Revision: https://phabricator.haskell.org/D2166
* rts/Pool: Add poolTryTakeBen Gamari2015-11-261-11/+30
|
* rts: Add simple resource poolBen Gamari2015-11-231-0/+180