Title: Quickjob Queue Count Post by: HelgeLange on June 10, 2016, 04:33:32 PM Hi Danijel,
is there a way to know if a QuickJob component still has something in its queue ? I have a job that executes every 5 seconds. Of course I can put a serialized job but if for some reason the job needs more than 5 seconds, i'd like to skip the current step and wait another 5 seconds. Helge Title: Re: Quickjob Queue Count Post by: D.Tkalcec (RTC) on June 10, 2016, 04:57:44 PM Sorry, but ... unless you write you own code to keep track of your "jobs", there is no way of telling how many jobs are in a "queue", simply because each call to the Post method on the TRtcQuickJob component (with Serialized=False) creates a new virtual thread for that specific job and the virtual thread is automatically released when the job finishes.
Best Regards, Danijel Tkalcec Title: Re: Quickjob Queue Count Post by: HelgeLange on June 10, 2016, 06:09:16 PM And for serialized jobs ?
Title: Re: Quickjob Queue Count Post by: D.Tkalcec (RTC) on June 10, 2016, 07:37:29 PM Download RealThinClient SDK v7.21 (just uploaded) and you will see 3 new methods on the TRtcQuickJob component, giving you basic information about the current job status when using the component with Serialized=True.
Best Regards, Danijel Tkalcec Title: Re: Quickjob Queue Count Post by: HelgeLange on June 10, 2016, 09:34:03 PM thanks, godlike! That's support :)
|