Commit Graph

100 Commits

Author SHA1 Message Date
Shane Caraveo
d0dbf1ea57 my mistake...freed in a different function. 2001-01-08 00:35:05 +00:00
Shane Caraveo
65eac44f69 be sure to unlock that mutex before returning! 2001-01-08 00:32:18 +00:00
Zeev Suraski
412939dd0c Add Release_TSDbg to TSRM as well 2001-01-07 18:28:03 +00:00
Sascha Schumann
af97475e93 Use the hardly-documented third parameter of AM_INIT_AUTOMAKE to suppress
defining PACKAGE/VERSION.
2000-12-02 13:27:07 +00:00
Andi Gutmans
afccae85d9 - Thanks to "Daniel Beulshausen" <daniel@php4win.de> 2000-11-22 04:59:32 +00:00
Zeev Suraski
1ebdb6fa14 Beef up debugging support 2000-11-18 02:41:14 +00:00
Zeev Suraski
d5a09981d6 Import debug-level improvements to TSRM, by Dmitri Dmitrienko 2000-11-17 23:31:15 +00:00
Sascha Schumann
c5e776ec2d sizeof(size_t) != sizeof(int) on 64-bit platforms.
This also makes the API more consistent.
2000-11-06 23:35:33 +00:00
Zeev Suraski
8aecb3c984 mode_t should be an unsigned_int 2000-10-31 18:05:28 +00:00
Andi Gutmans
fd7284a665 - Add V_RENAME() by "Daniel Beulshausen" <daniel@php4win.de>.
- It is untested and all places which use rename() in PHP should now use
- V_RENAME().
2000-10-26 05:21:52 +00:00
Andi Gutmans
94bea2902b - Move #define to .h file 2000-10-03 16:36:32 +00:00
Andi Gutmans
3dab84005d - Fix V_CHDIR_FILE() 2000-10-03 15:08:37 +00:00
Andi Gutmans
a45553cd57 - Add TODO 2000-09-16 19:07:50 +00:00
Andi Gutmans
228648397e - Add config_common.h to dsp 2000-09-11 18:59:32 +00:00
Andi Gutmans
db1422f10e - Testing 1 2 3 2000-09-11 15:15:29 +00:00
Andi Gutmans
770098eca8 - Testing 1 2 3 2000-09-11 15:14:56 +00:00
Andi Gutmans
fe434a05b4 - Fix crash bug on NetBSD and OpenBSD. MAXPATHLEN didn't get defined
correctly and caused a stack overrun. This was *hard* to debug.
2000-09-07 15:31:29 +00:00
Andi Gutmans
f390d7e2ab - Get rid of build warning on Windows 2000-09-07 14:11:38 +00:00
Andi Gutmans
b8a95da22a - Centralize some configuration stuff
- Use inline in my strtok_r implementation
2000-09-06 20:27:12 +00:00
Andi Gutmans
07cfd5754e - Added macros 2000-09-04 04:18:38 +00:00
Andi Gutmans
1109b9ab57 - More TSRM work 2000-09-03 18:58:46 +00:00
Andi Gutmans
da19ff78f3 - Add new files to TSRM windows project 2000-09-03 18:49:35 +00:00
Andi Gutmans
03432bf61f - Make TSRM work on Windows. 2000-09-03 18:47:35 +00:00
Andi Gutmans
daf926cf5b - Move virtual cwd to TSRM.
In the least this still doesn't work on Windows.
2000-09-03 18:18:13 +00:00
Andi Gutmans
77b55ad07d - Revert change of defining TSRM_WIN32 in dsp 2000-09-02 16:28:50 +00:00
Andi Gutmans
5f3d935920 - Change TSRM_OTHER macro to TSRM_THREADS as it should be only to check
for threads
2000-09-02 15:24:18 +00:00
Andi Gutmans
a8656beb34 - Make TSRM compile stand-alone again 2000-09-02 15:11:45 +00:00
Andi Gutmans
d6d8b51b2c - Define TSRM_WIN32 in Windows dsp 2000-09-02 15:04:57 +00:00
Andi Gutmans
92cfa27ff0 - Use TSRM_WIN32 2000-09-02 15:03:19 +00:00
Sam Ruby
f2b0015c9b Allow TSRM to be built on Windows platforms 2000-09-02 14:39:48 +00:00
Andi Gutmans
3d95c23c96 - Support for always building TSRM into PHP 2000-08-31 23:44:10 +00:00
Andi Gutmans
a2ea62d4c9 - Change license of .c and .h files of TSRM. It's still not the complete
- text like in the PHP headers because we don't have it on the web yet but
- it should be enough to allow Sascha to touch TSRM :)
2000-08-31 19:02:14 +00:00
Sascha Schumann
c1894bbf96 Add dummy depend: target 2000-08-25 09:04:51 +00:00
Andi Gutmans
b0fd857c69 - Oops I was only thinking about VIRTUAL_DIR and forogt about the rest of
- TSRM which Zeev implemented  on his own.
2000-07-11 19:17:19 +00:00
Andi Gutmans
744a823fd2 - Commit new license for TSRM. 2000-07-11 19:15:51 +00:00
Sascha Schumann
8adf849dce Identifiers that begin with underscore are reserved for the implementation. 2000-07-02 23:16:54 +00:00
Andi Gutmans
a4edfc06c5 - Export ts_resource_ex in order to succesfully build Windows version 2000-06-17 14:56:19 +00:00
Zeev Suraski
33f9499975 Make it possible to access other threads' local storage. Only use it if you have a clear
knowledge of what you're doing!
2000-06-16 14:38:05 +00:00
Sascha Schumann
0eeee6b7c8 Add -qthreaded for AIX cc V5 2000-06-10 08:26:59 +00:00
Sascha Schumann
f6c8918a0d Add FreeBSD's new -kthread option.
Add a list of compiler/platforms where the flags are known to work.
2000-06-10 08:09:05 +00:00
Zeev Suraski
c5b2c8ba93 Update .dsp's 2000-06-08 12:28:48 +00:00
Sascha Schumann
d3a7f5be38 Make TSRM compile again. ZTS is defined by a header file included in
tsrm_config.h, so TSRM.o was always empty.
2000-06-06 00:16:16 +00:00
Andi Gutmans
09d281ff62 - Only compile if building a thread safe version 2000-06-04 04:14:17 +00:00
Sascha Schumann
a33c135b0a Add enable-threads flag for gcc on HPUX 2000-05-24 11:13:11 +00:00
Sascha Schumann
86d6389db4 Assign/restore vars appropiately 2000-05-05 12:15:36 +00:00
Sascha Schumann
6c4d6ba5e3 Don't automatically assign pthreads_cflags/pthreads_libs to env
variables. That allows us to check for the availability of POSIX threads
before actually using it.
2000-05-04 10:49:36 +00:00
Sascha Schumann
b87df8f210 Add UnixWare/OpenServer flags 2000-04-30 04:50:03 +00:00
Thies C. Arntzen
38c2b8ec63 hpux needs _REENTRANT 2000-04-15 17:06:21 +00:00
Sascha Schumann
2b1daf73eb * Include <stddef.h> for NULL
* Check for pthread_mutexattr_init() for improved SGI support
2000-03-30 23:35:26 +00:00
Sascha Schumann
7658768705 Use CPPFLAGS for reentrancy/thread flags 2000-03-15 21:40:03 +00:00