Chapter 26 Managing Threads

IN THIS CHAPTER

Using the <cfthread> Tag 134

Accessing Thread Data 138

Monitoring and Administering Threads 144

Best Practices 149

ColdFusion event gateways can be used to perform asynchronous programming. Asynchronous coding allows requests to run concurrently yet independently of each other. The asynchronous CFML gateway allows developers to run code parallel to the user request. The template requested in the browser can issue multiple calls to the gateway. The code running in the gateway is completely autonomous, meaning that it runs in its own thread, consumes its own resources, and does not depend on the parent request thread. The parent thread continues execution without waiting for CFML gateway requests to ...

Get Adobe ColdFusion 9 Web Application Construction Kit, Volume 2: Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.