Actions
Feature #88279
closedImplement SemaphoreLockStrategy as LOCK_CAPABILITY_NOBLOCK by using $nowait parameter of sem_acquire()
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Locking / Session Handling
Target version:
-
Start date:
2019-05-06
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Since PHP 5.6.1, sem_acquire() has a $nowait parameter to make it non-blocking. This parameter is not used in TYPO3.
-> The SemaphoreLockStrategy can be made support LOCK_CAPABILITY_NOBLOCK.
Note: php semaphores are not cluster-ready. A RedisLockStrategy is currently missing in the core and would be a great addition.
Actions