how to give time to main thread while executing plugin

  • hello all,


    i'm working on a xmltv import plugin, wich works fine.


    but the process is time consuming.


    during this time , the box displays the spinners and is unresponsive to any input (rc,webinterface)
    is it possible to give some time back to the main thread, so it doesn't get so unresponsive...


    or can i start a code as a background task


    thanks , arnold