September 2007
Intermediate to advanced
600 pages
20h 21m
English
The advice about when and how to use locks given in this chapter applies only to ColdFusion MX and later. Previous versions of ColdFusion approached locking differently within the guts of the server. The result was that every read or write of any shared variable needed to be locked, regardless of whether there was a possibility of a logical race condition. Without the locks, ColdFusion’s internal memory space would eventually become corrupted, and the server would crash or exhibit strange and unstable behavior. In other words, locks were needed not only to protect the logical integrity of shared data, but also to protect the ColdFusion server from itself. Thankfully, this shortcoming has gone away as of ...
Read now
Unlock full access