php-src/win32
Anatol Belski 06332e6706 introduced DllMain for the main php DLL
The particular need on this is because of the current situation
with determining the background functionality for the
gettimeofday. DllMain allows to initialize stuff before the DLL
can be actually used. Thus, we use different time API on win7
and win8 and later, so the function pointer needs to be
initialized before anything in the DLL could even demand it.

The change also opens the door for the further optimizations,
as now we're able to do the very basic initializations for the
whole DLL before it could ever start to live. Fe on this way the
TLS initialization could be done, when utilizing the
DLL_THREAD_ATTACH/DETACH case. Whether it's really usable in
portable way should be synced with other platforms.

Be aware that it's dangerous as it possibly causes dead locks.
So to use with care. One willing to add items to DllMain should
better read the documentation twice and even then try to defer
the necessary action.
2015-06-02 15:56:32 +02:00
..
build introduced DllMain for the main php DLL 2015-06-02 15:56:32 +02:00
builddef.bat
dllmain.c introduced DllMain for the main php DLL 2015-06-02 15:56:32 +02:00
fnmatch.c add vim modelines 2015-05-20 19:14:05 +02:00
fnmatch.h - add fnmatch() support on windows (C API), using the BSD implementation 2009-01-20 01:37:48 +00:00
getrusage.c add vim modeline 2015-05-20 19:14:04 +02:00
getrusage.h disable unused members in struct rusage 2015-05-20 19:14:02 +02:00
glob.c cleanup more redundant S_IS* declarations 2015-05-25 18:03:26 +02:00
glob.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
globals.c add vim modelines 2015-05-20 19:14:05 +02:00
grp.h bump year 2015-01-15 23:27:30 +08:00
inet.c add license header 2015-05-20 19:14:07 +02:00
inet.h add license header 2015-05-20 19:14:07 +02:00
install.txt Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
param.h
php7dllts.rc Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php7dllts.rc2 Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php7ts_cli.rc Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php7ts_cli.rc2 Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php7ts.rc Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php7ts.rc2 Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php_inttypes.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
php_registry.h add license header 2015-05-20 19:14:09 +02:00
php_stdbool.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
php_stdint.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
php_win32_globals.h fix thread safety for win32/sendmail 2015-03-03 20:42:28 +01:00
readdir.c add vim modelines 2015-05-20 19:14:05 +02:00
readdir.h MFH: 2008-08-14 23:29:25 +00:00
registry.c add license header 2015-05-20 19:14:09 +02:00
resource.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
select.c bump year 2015-01-15 23:27:30 +08:00
select.h bump year 2015-01-15 23:27:30 +08:00
sendmail.c add vim modelines 2015-05-20 19:14:05 +02:00
sendmail.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
signal.h remove version check 2015-05-15 08:20:33 +02:00
sockets.c add vim modelines 2015-05-20 19:14:05 +02:00
sockets.h bump year 2015-01-15 23:27:30 +08:00
syslog.h bump year 2015-01-15 23:27:30 +08:00
syslog.reg Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
time.c introduced DllMain for the main php DLL 2015-06-02 15:56:32 +02:00
time.h introduced DllMain for the main php DLL 2015-06-02 15:56:32 +02:00
unistd.h - MFH: 2009-01-19 02:35:22 +00:00
winutil.c add vim modelines 2015-05-20 19:14:05 +02:00
winutil.h bump year 2015-01-15 23:27:30 +08:00
wsyslog.c add vim modelines 2015-05-20 19:14:05 +02:00