|
Re: Question regarding Eclipse Jobs [message #333399 is a reply to message #333394] |
Tue, 09 December 2008 16:01 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
I don't think there is any.
I've asked about this before and I was told that I shouldn't have to
worry about this. That my job should of been created with all of the
scheduling rules it should ever need. And if not, then the code needs to
be changed so that it is started with the correct set. That this is how
scheduling rules are supposed to be used. That they aren't to be
dynamically added/removed as needed. If they were dynamically
added/removed then there is a possibility of deadlocks.
Keshavrao wrote:
> Hi all,
>
> How can i check if my current thread own a particular ISchedulingRule?
> I searched through the API's of JobManager but couldnt find one.
>
> Thanks and regards,
> Keshav Veerapaneni.
>
--
Thanks,
Rich Kulp
|
|
|
|
Re: Question regarding Eclipse Jobs [message #333426 is a reply to message #333418] |
Wed, 10 December 2008 17:40 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Nope. That was exactly what I was trying to do. And the answer was "You
should already know if you have it".
Keshavrao wrote:
> Hi,
>
> Actually i am acquring schedulingrules using JobManger.beginRule
> and i want to call the endrule only if my thread owns the rule, will it
> be possible to do this?
>
>
> Thanks and regards,
> Keshav Veerapaneni.
>
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.04641 seconds