2006-05-29, 01:18 PM
Hi,
this method always reads out the programmes from the database.
When it is called from within my code, I always have a quite huge delay, and also another 40mb of memory is used.
I'm asking because GBPVR starts a thread to load the listings in the background during startup. If the thread is finished, the tv guide will open without any delay.
So, the data is already available in GBPVR, but not via the above method.
Would it be possible that GetListingsForTimePeriod() returns the pre-loaded data, if the mentioned thread has finished (and block until it has if not)?
-alibert
this method always reads out the programmes from the database.
When it is called from within my code, I always have a quite huge delay, and also another 40mb of memory is used.
I'm asking because GBPVR starts a thread to load the listings in the background during startup. If the thread is finished, the tv guide will open without any delay.
So, the data is already available in GBPVR, but not via the above method.
Would it be possible that GetListingsForTimePeriod() returns the pre-loaded data, if the mentioned thread has finished (and block until it has if not)?
-alibert