Copyright | (C) 2017 ATS Advanced Telematic Systems GmbH |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Stevan Andjelkovic <stevan@advancedtelematic.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This module provides internal refereces.
Documentation
An internal (or integer) reference consists of a reference and a process id.
A process id is merely a natural number that keeps track of which
thread the reference comes from. In the sequential case the process
id is always 0
. Likewise the sequential prefix of a parallel
program also has process id 0
, while the left suffix has process
id 1
, and then right suffix has process id 2
.
A reference is natural number.
type ConstIntRef = ConstSym1 IntRef Source #
Type-level function that constantly returns an internal reference.