Home > DeveloperSection > Interviews > What are the types of lock supported by CFLOCK>?

Posted on    May-17-2011 2:36 AM

 Cold Fusion Cold Fusion 
 1 Answer(s)
  1610  View(s)
Rate this:

James Smith

Total Post:79

Posted on    May-17-2011 12:00 AM

<CFLOCK> supports two different types of lock, EXCLUSIVE and READONLY. An EXCLUSIVE lock prevents access by any other code and READONLY is more of a flag that marks a block of code that will only be executed if there is no active EXCLUSIVE lock.

Don't want to miss updates? Please click the below button!

Follow MindStick