mmenu: introduced artificial delay after SD event (ins/eject); mmenu is racing agains... sz_beta5
authorskeezix <skeezix@flotsam-vm.(none)>
Fri, 18 May 2012 01:56:15 +0000 (21:56 -0400)
committerskeezix <skeezix@flotsam-vm.(none)>
Fri, 18 May 2012 01:56:15 +0000 (21:56 -0400)
commit3e33d98fd6f8bab52d768a359de599953035c236
tree3b39604810e50854e4f8609b1b82f0f7d9c58c6d
parent3b2c95f59df1a8d24d46179bde3c69fb0db94b18
mmenu: introduced artificial delay after SD event (ins/eject); mmenu is racing against pndnotifyd
and if mmenu wakes up first, then the lockfile is not yet present and mmenu sees minimal changes..
so if we make mmenu wait a second or two then almost certainly pndnotifyd should have awoken and
set up its lockfile. (Another option is to tweak pndnotifyd to wake up more often, but I prefer
not to bother that application as it is omnipresent .. lets avoid introducing cpu leach.)
minimenu/mmui.c