libpomelo2 icon indicating copy to clipboard operation
libpomelo2 copied to clipboard

unlock event queue when handling event.

Open xpol opened this issue 9 years ago • 2 comments

  1. unlock event queue when handling event.
  2. and make lock scope smaller.

xpol avatar Apr 29 '16 02:04 xpol

@xpol

I'm afraid PC_PRE_ALLOC_SET_IDLE inside pc__handle_event should be protected by event_mutex as we release the mutex before entering pc__handle_event

Thanks!

cynron avatar Apr 29 '16 08:04 cynron

@cynron Sorry. This is last day that I work on lua-pomelo (going for another job), and I can get it working. I'm considering shutdown lua-pomelo.

Thanks for you great help and good luck to you!

xpol avatar Apr 29 '16 09:04 xpol