Is there any way to set the priority of individual threads in CF?

We have several utility apps written that are scheduled throughout the day. Some of these jobs max out the processor when they are running. I'd like to be able to assign these threads a lesser priority so they don't consume the entire server when they run. Performance is not critical for these utilities.

I believe this is possible in Java so there should be some way to assign thread priority by calling the underlying Java architecture via createObject().

It would be perfect to have something like:

<cfprocessingdirective threadpriority=1>

but that's something for the Blackstone wishlist I guess.

Has anyone done this?

-Joe
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to