Using unsafe foreign import for rtsSupportsBoundThreads (part of #9696)
authorMarcin Mrotek <marcin.jan.mrotek@gmail.com>
Sat, 5 Mar 2016 19:02:18 +0000 (20:02 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sat, 5 Mar 2016 19:02:19 +0000 (20:02 +0100)
commit1d6177b133f3a6ac28cc8a679807563cfca3c56a
treed0057c43c77cb8bf8ca937ed42ff24286aca27fb
parent3801262e89957a0fceeec0c5683045cf327aac64
Using unsafe foreign import for rtsSupportsBoundThreads (part of #9696)

A safe import is unnecessary considering rtsSupportsBoundThreads simply
returns a constant.

This commit doesn't fix the main issue of ticket #9696 that
"readRawBufferPtr and writeRawBufferPtr allocate memory".

Reviewers: bgamari, austin, hvr

Reviewed By: hvr

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1964

GHC Trac Issues: #9696
libraries/base/Control/Concurrent.hs
libraries/base/GHC/ConsoleHandler.hs
libraries/base/GHC/IO/FD.hs