Copyright | (c) Sam Truzjan 2013 |
---|---|
License | BSD3 |
Maintainer | pxqr.sta@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
The udev daemon processes events asynchronously. All events which do not have interdependencies run in parallel. This exports the current state of the event processing queue, and the current event sequence numbers from the kernel and the udev daemon.
Synopsis
- data Queue
- type Seqnum = Int
- newQueue :: UDev -> IO Queue
- isActive :: Queue -> IO Bool
- isEmpty :: Queue -> IO Bool
- isFinished :: Queue -> Seqnum -> IO Bool
- getPending :: Queue -> IO List
- sequenceIsFinished :: Queue -> Seqnum -> Seqnum -> IO Bool
- getKernelSeqnum :: Queue -> IO Seqnum
- getUDevSeqnum :: Queue -> IO Seqnum
Documentation
:: Queue | udev queue context |
-> Seqnum | sequence number |
-> IO Bool | if the given sequence number is currently active. |
Check if udev is currently processing a given sequence number.