[TYPO3-core] RFC: Bug #7630: Locking Problems with TSFE->set_no_cache()

Jeff Segars jsegars at alumni.rice.edu
Mon Feb 25 19:54:42 CET 2008


Oliver Hader wrote:
>  I've modified the post patch of #7333. It has the following
> modifications: * adds a new method t3lib_lock::sysLog() which calls
> again t3lib_div:sysLog and prepends some common information, e.g.:
> 25-02-08 18:09 - cms: Locking
> [simple::0aeafd2a67a6bb8b9543fb9ea25ecbe2]: Acquired lock
>  25-02-08 18:09 - cms: Locking
> [simple::712fa1bc0bb5e4e6a491065c075cecd2]: Acquired lock
>  25-02-08 18:09 - cms: Locking
> [simple::0aeafd2a67a6bb8b9543fb9ea25ecbe2]: Released lock
>  25-02-08 18:09 - cms: Locking
> [simple::712fa1bc0bb5e4e6a491065c075cecd2]: Released lock

>  * added a new class variable $resource which is used for the
> filename of the lock or the semaphore resource
>  * changed to disposal of class variable $id to contain the hash
> which was used to create the locking resource (=identifier)
>  * added a check if typo3temp/locks/ directory exists and creates it

>  Please test and review this patch again. Thanks!

+1 based on reading and testing with simple locking.




More information about the TYPO3-team-core mailing list