summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/MultiCpu.hs
diff options
context:
space:
mode:
authorJochen Keil <jochen.keil@gmail.com>2012-08-09 11:44:39 +0200
committerJochen Keil <jochen.keil@gmail.com>2012-08-09 12:07:17 +0200
commitfc474471e12afd5ec958082a7246f2ee22fcc2cf (patch)
tree4d18fc0f2fd48c804a7d59af7d780d113ce41b1e /src/Plugins/Monitors/MultiCpu.hs
parentdd78c8bfa52ba0b10e6acf8bde8d467fb02a8d4e (diff)
downloadxmobar-fc474471e12afd5ec958082a7246f2ee22fcc2cf.tar.gz
xmobar-fc474471e12afd5ec958082a7246f2ee22fcc2cf.tar.bz2
Bugfix: Replace TVar with TMVar for the old value
This solves a problem when there is only one pipe in place. With a default value of "" and only one pipe with a timeout the value is overwritten with "" after the timeout. To prevent this from happening a TMVar is used which will never be filled if there is only one pipe.
Diffstat (limited to 'src/Plugins/Monitors/MultiCpu.hs')
0 files changed, 0 insertions, 0 deletions