-
-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathphp_parallel.h
More file actions
45 lines (37 loc) · 1.71 KB
/
php_parallel.h
File metadata and controls
45 lines (37 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
+----------------------------------------------------------------------+
| parallel |
+----------------------------------------------------------------------+
| Copyright (c) Joe Watkins 2019-2024 |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: krakjoe |
+----------------------------------------------------------------------+
*/
#ifndef PHP_PARALLEL_H
# define PHP_PARALLEL_H
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
extern zend_module_entry parallel_module_entry;
# define phpext_parallel_ptr ¶llel_module_entry
# define PHP_PARALLEL_VERSION "1.3.0-dev"
# if !defined(ZTS)
# error Only ZTS build are supported
# elif defined(COMPILE_DL_PARALLEL)
ZEND_TSRMLS_CACHE_EXTERN()
# endif
#if _WIN32
# define PARALLEL_API __declspec(dllexport)
#else
# define PARALLEL_API __attribute__ ((visibility("default")))
#endif
PARALLEL_API bool php_parallel_is_parallel_worker_thread(void);
#endif /* PHP_PARALLEL_H */