Thread
:
Advice needed for plugin running background thread
View Single Post
01-03-2016, 07:49 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Create a user interface plugin start your thread in the genesis() method and shut it down in the shutting_down() method. And dont forget to set your thread as a daemon.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS