|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-14 07:19 UTC] gopalv82 at yahoo dot com
[2009-08-14 09:19 UTC] info at mostinfo dot net
[2009-08-21 08:04 UTC] info at mostinfo dot net
[2009-08-21 09:45 UTC] gopalv82 at yahoo dot com
[2009-08-26 14:52 UTC] info at mostinfo dot net
[2009-08-31 17:34 UTC] info at mostinfo dot net
[2009-09-22 06:52 UTC] kalle@php.net
[2009-09-22 15:50 UTC] info at mostinfo dot net
[2009-09-25 03:13 UTC] info at mostinfo dot net
[2009-10-01 12:29 UTC] askalski at gmail dot com
[2009-10-01 17:51 UTC] shire@php.net
[2009-10-04 06:24 UTC] gopalv82 at yahoo dot com
[2009-10-06 04:22 UTC] info at mostinfo dot net
[2009-10-12 14:48 UTC] shire@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Mar 06 23:00:01 2026 UTC |
Description: ------------ apc_add('foo', true, $ttl) always returns false on subsequent visits during the execution of the script, despite the fact that the $ttl has expired Reproduce code: --------------- <?php while(!apc_add('test_add', true, 5)) { echo "wait..<br>\n"; usleep(500); } echo "Have lock!"; ?> Expected result: ---------------- Launch 1: Have lock! Launch 2: wait.. wait.. ... wait.. Have lock! Actual result: -------------- Launch 1: Have lock! Launch 2: wait.. wait.. wait.. ... infinite loop