Thread status constants
Kyle Van Berendonck
kvanberendonck at gmail.com
Sat Jul 19 05:00:17 UTC 2014
Hi,
I found these:
https://github.com/ghc/ghc/blob/5f3c5384df59717ca8013c5df8d1f65692867825/includes/rts/Constants.h#L194
They go only 0-14, so there's some long chains of branches and stuff in hot
paths that could be cleaned up into single &-masked branches by changing
these into a set of flags.
And then I saw these:
https://github.com/ghc/ghc/blob/master/libraries/base/GHC/Conc/Sync.lhs#L483
Where does 16 and 17 come from -- I couldn't find them in the header files
anywhere?
Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140719/5de3df25/attachment.html>
More information about the ghc-devs
mailing list