Figured it out:

<cfscript>
thread = createObject("java", "java.lang.Thread");
thread.setPriority(3);
</cfscript>

Looks like cf runs threads at a priority of 5 and a max of 10.
<cfscript>
thread = createObject("java", "java.lang.Thread");
currp = thread.getPriority();
maxp = thread.getThreadGroup().getMaxPriority();
</cfscript>
<cfoutput>
#currp#<br>
#maxp#
</cfoutput>

Hope it helps someone!

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

Reply via email to