Commit Graph

152 Commits

Author SHA1 Message Date
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
Sascha Schumann
a2121549aa Move the sincludes outside of AC_DEFUN(), so PHP can use the macros 2000-03-07 16:49:17 +00:00
Sascha Schumann
05024cb094 Use improved POSIX threads check from threads.m4
This is shared between some projects (currently Apache 2.0, mhash, mcrypt)
2000-03-07 13:24:12 +00:00
Zeev Suraski
4765396846 .dsp updates 1999-12-31 16:20:04 +00:00
Sascha Schumann
701a00d391 THREAD_T refers to thread ids, not attributes 1999-12-30 15:52:08 +00:00
Sascha Schumann
9aef66711e Rewrite TSRM_CHECK_GCC_ARG to cache its result 1999-12-30 02:19:39 +00:00
Sascha Schumann
85a5a2873e Let check succeed on systems which don't need special flags for pthreads.
Also change the message to be more informative.
1999-12-30 00:48:45 +00:00
Sascha Schumann
4e1baf3a4e Save a few lines while checking for -pthread[s]? 1999-12-27 09:54:12 +00:00
Sascha Schumann
69f8907a29 Put -pthreads? into CFLAGS; libtool still filters it out during shared
library linking; need to find a way to prevent that.
1999-12-24 15:44:58 +00:00
Sascha Schumann
aa3737e6e1 Improved check for GCC's -pthread and -pthreads flag 1999-12-22 22:23:06 +00:00
Sascha Schumann
fa1f318d74 Enable TSRM to use Pth 1999-12-21 18:03:35 +00:00
Sascha Schumann
4fb1e2788f Improve Pthreads check 1999-12-21 16:29:30 +00:00
Zeev Suraski
469966917b Use Critical Sections under Win32 - shows roughly 40% performance increase under
multithreaded Win32!
1999-12-20 20:02:25 +00:00
Sascha Schumann
91549cfa4f Move config code into separate file 1999-12-17 13:36:15 +00:00
Sascha Schumann
4a445c1bb7 Fix leak in pthreads, and add initial support for GNU Pth 1999-12-05 21:55:43 +00:00
Sascha Schumann
e5d956dbac Add ts_allocate_dtor, use ts_allocate_[cd]tor where appropiate. 1999-12-05 16:21:37 +00:00
Sascha Schumann
2f10b7ede8 Close a resource leak. 1999-11-26 15:33:42 +00:00
Zeev Suraski
40cc9d9d7a This should fix the deadlock 1999-10-10 13:30:03 +00:00
Sascha Schumann
ea567a73f1 Add clean target which removes standard targets 1999-10-10 02:02:13 +00:00
Sascha Schumann
f2608c3fdb build.mk can be used to generate build tools. It is usually
faster than buildconf, since it rebuilds only components, if
it is necessary. To use it, run

    $ make -f build.mk
1999-10-10 01:23:15 +00:00
Sascha Schumann
f48a4916ea Explicit casts to ulong. Some compiler don't like pointers in % 1999-10-05 15:15:01 +00:00
Sascha Schumann
60d87e1914 Add $automake_flags, to allow propagation of --copy 1999-10-05 13:47:16 +00:00
Sascha Schumann
f18254e433 Forgot these.. 1999-10-04 15:22:18 +00:00
Sascha Schumann
e67005e748 Use libtool. 1999-10-04 15:21:39 +00:00
Sascha Schumann
ec01d01400 Whoops, OSF/1 has -lpthread and -lpthreads, but defines most
pthread_* as __pthread*. According to pthread(3), -lpthread is the
    correct choice.
1999-10-04 15:00:38 +00:00
Sascha Schumann
8266f8a515 -lpthreads is needed on OSF/1 aka Digital Unix aka Tru64 1999-10-04 12:34:04 +00:00
Sascha Schumann
8617cc60ad Make config executable 1999-10-03 16:10:15 +00:00
Sascha Schumann
9e4b5f7c3a Test commit II. 1999-10-02 21:16:34 +00:00
Sascha Schumann
9009c4481b Test commit. 1999-10-02 21:16:04 +00:00
Sascha Schumann
55218a98f2 Reactivate autoheader 1999-10-02 21:14:23 +00:00
Andi Gutmans
b7e248dd06 *** empty log message *** 1999-10-02 20:50:20 +00:00
Sascha Schumann
154663e9a2 Remove C++ style comments from C source file. 1999-09-27 15:37:00 +00:00
Sascha Schumann
a5dbe81a76 Do not let PACKAGE/VERSION escape from tsrm_config.h. 1999-09-26 19:47:35 +00:00
Sascha Schumann
feccd9f104 Undefine previously PACKAVE/VERSION macros. We should find a way
to suppress these from automake
1999-09-26 19:46:35 +00:00
Sascha Schumann
17df2892bd Use helper script to determine compile time configuration for TSRM 1999-09-26 19:09:24 +00:00
Sascha Schumann
a412eb08cb PTHREADS is a custom symbol 1999-09-24 20:52:46 +00:00
Sascha Schumann
5453d0be3c Additionally check libc_r (*BSD) for pthread functions 1999-09-24 20:14:44 +00:00
Sascha Schumann
8bf4fe02db Try to find ANSI/STDC compatible mode of host compiler 1999-09-23 19:34:42 +00:00
Stig S. Bakken
4d5491e285 Workaround to prevent TSRM from defining PACKAGE and VERSION.
No longer using autoheader.
1999-09-06 15:32:19 +00:00
Zeev Suraski
25829488c4 Add new-thread handlers 1999-08-14 09:35:52 +00:00
Stig S. Bakken
f5bfd16b0b identify ourselves 1999-07-22 20:20:11 +00:00
Zeev Suraski
df0906f7c0 Release fix 1999-05-13 16:48:49 +00:00
Zeev Suraski
0997fcdc2b Fix 1999-05-11 21:27:44 +00:00
Sascha Schumann
324593224d calloc et al need stdlib.h according to ANSI-C 1999-05-06 21:13:26 +00:00
Andi Gutmans
cef5243b64 - export patch 1999-04-28 18:35:42 +00:00
Andi Gutmans
8423f8f1d3 dsp update 1999-04-28 16:13:09 +00:00
Zeev Suraski
5974d84bc6 Fixes 1999-04-24 23:22:09 +00:00
Stig S. Bakken
3b516557f2 set up automake 1999-04-24 16:14:18 +00:00
Zeev Suraski
1e9ce9528d *** empty log message *** 1999-04-24 09:01:30 +00:00
Zeev Suraski
5be8dd9712 License 1999-04-23 11:00:02 +00:00
Zeev Suraski
37fe04b887 Thread Safe Resource Manager 1999-04-20 23:58:02 +00:00