Home
last modified time | relevance | path

Searched refs:acquire (Results 1 – 8 of 8) sorted by relevance

/php-src/ext/sysvsem/tests/
H A Dnowait.phpt34 echo "P: fail to acquire semaphore.\n";
42 echo "P: failed to acquire semaphore.\n";
63 echo "P: failed to acquire semaphore.\n";
94 echo "C: test failed, Child was able to acquire semaphore.\n";
98 // The child process did not wait to acquire the semaphore
99 echo "C: failed to acquire semaphore.\n";
108 echo "C: fail to acquire semaphore.\n";
125 C: failed to acquire semaphore.
H A Dsysv.phpt23 echo "Fail to acquire semaphore.\n";
27 echo "Success acquire semaphore.\n";
95 Success acquire semaphore.
/php-src/ext/sysvsem/
H A Dsysvsem.c269 static void php_sysvsem_semop(INTERNAL_FUNCTION_PARAMETERS, int acquire) in php_sysvsem_semop() argument
276 if (acquire) { in php_sysvsem_semop()
288 if (!acquire && sem_ptr->count == 0) { in php_sysvsem_semop()
294 sop.sem_op = acquire ? -1 : 1; in php_sysvsem_semop()
300 …php_error_docref(NULL, E_WARNING, "Failed to %s key 0x%x: %s", acquire ? "acquire" : "release", se… in php_sysvsem_semop()
306 sem_ptr->count -= acquire ? -1 : 1; in php_sysvsem_semop()
/php-src/Zend/tests/restrict_globals/
H A Dinvalid_assign_ref_rhs.phpt11 Fatal error: Cannot acquire reference to $GLOBALS in %s on line %d
/php-src/Zend/tests/readonly_props/
H A Dby_ref_foreach.phpt29 Cannot acquire reference to readonly property Test::$prop
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_115.phpt26 Cannot acquire reference to readonly property A::$foo
/php-src/Zend/tests/
H A Dfirst_class_callable_errors.phpt2 Trying to acquire callable to something that's not callable
/php-src/docs/source/core/data-structures/
H A Dreference-counting.rst6 large amount, you call ``malloc`` and ``free`` to acquire and release blocks of memory of some size.

Completed in 18 milliseconds