Added sem_post, sem_wait and sem_getvalue functions

This commit is contained in:
ftc
2019-08-01 00:02:44 +03:00
parent 2e3f65aff4
commit e4e0b18eef
2 changed files with 91 additions and 1 deletions
+3
View File
@@ -10,6 +10,9 @@ PHP_MSHUTDOWN_FUNCTION(posix_semaphores);
PHP_FUNCTION(posix_sem_open);
PHP_FUNCTION(posix_sem_close);
PHP_FUNCTION(posix_sem_unlink);
PHP_FUNCTION(posix_sem_getvalue);
PHP_FUNCTION(posix_sem_post);
PHP_FUNCTION(posix_sem_wait);
extern zend_module_entry posix_semaphores_module_entry;
#define phpext_posix_semaphores_ptr &posix_semaphores_module_entry;