This example below should hopefully get you started (spawns, uses shared scopes to communicate work status, passes data into the async method via Async Event Gateway, performs a sync-point in the main request thread, waits for all work to be completed in the async worker threads, and completes the task (in 100th of the total time...22,000ms down to 220ms in this simple example).
(Watch the line wrap): http://www.dcooper.org/blog/client/index.cfm?mode=entry&entry=24BEF3D6-4E22-1671-55146EEC011D18D4 Shared (ie server) variables are one way to do inter-thread communication in CFMX7 (don't forget to CFLOCK on updates). Damon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200739 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

