That's a great time that I will try to remember...
--
Hugo Ahlenius
-------------------------------------------------------------
Hugo Ahlenius E-Mail: [EMAIL PROTECTED]
Project Officer Phone: +46 8 230460
UNEP GRID-Arendal Fax: +46 8 230441
Stockholm Office Mobile: +46 733 467111
WWW: http://www.grida.no
-------------------------------------------------------------
| -----Original Message-----
| From: Joe Bernard [mailto:[EMAIL PROTECTED]
| Sent: Monday, July 19, 2004 06:03
| To: CF-Talk
| Subject: Re: ColdFusion thread priority
|
| 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]

