aivika-gpss-0.6.2: GPSS-like DSL for Aivika
CopyrightCopyright (c) 2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Simulation.Aivika.GPSS.Block.Preempt

Description

Tested with: GHC 8.0.2

This module defines the GPSS block Preempt.

Synopsis

Documentation

preemptBlock Source #

Arguments

:: Facility a

the facility

-> PreemptBlockMode a

the Preempt block mode

-> Block (Transact a) (Transact a) 

This is the GPSS construct

PREEMPT A,B,C,D,E

data PreemptBlockMode a Source #

Specifies the Preempt block mode.

Constructors

PreemptBlockMode 

Fields

defaultPreemptBlockMode :: PreemptBlockMode a Source #

The default Preempt block mode.