Is there any way to determine which thread is running an event gateway call?

I have a CFML event gateway that I'm using, and there are times when I'd
like to kill that request.  No problem with normal page requests, fusion
reactor lets me do that quite nicely.

But with event gateways, there is no "request".. the gateway runs inside a
thread but it's no associated with a request.

So usually what I end up doing is clicking on the threads to inspect them
until I find the one that is running my gateway call (it's as easy as that
because I never make more than one of these requests as a time).. then I go
in and kill the thread.

I'd like the tool that generates the event gateway call to actually attempt
to report the thread number that it's running in.. I thought this might be
possible by returning a stack trace of all the threads and just looking for
the one that contains the specific filename of the gateway but I have no
idea if that can actually be done or not.

Thanks.

Rick Root

-- 
I'm not certified, but I have been told that I'm certifiable...
Visit http://www.opensourcecf.com today!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267487
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to