David E. O'Brien
65c045e964
Repo copy libpthreads to libkse.
...
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)
2007-10-09 13:42:34 +00:00
Marcel Moolenaar
49fa07a087
o Include <sys/time.h>
...
o Make this ILP32/LP64 clean: cast pointers to long
o Code conditional upon DEBUG must also be conditional
upon _LIBC_R_
2005-11-19 04:47:06 +00:00
Marcel Moolenaar
dc2e8ca41b
o Include <string.h>
...
o Make this ILP32/LP64 clean: cast pointers to long.
2005-11-19 04:45:15 +00:00
Marcel Moolenaar
40edb45e59
Fix typo: s/_LIBC_R/_LIBC_R_/
2005-11-19 04:43:29 +00:00
David Xu
cb10cbc878
libkse was renamed to libpthread.
2004-02-05 02:55:20 +00:00
Daniel Eischen
5bb9c67cc7
This test relies on the concurrency level being 1; make it so.
2003-10-20 04:23:49 +00:00
Marcel Moolenaar
0662d65037
Don't run verify directly as that would require the perl script to
...
have execute permissions. Run "perl verify" instead. Replace all
occurences of the hardcoding of ./verify with $(VERIFY) to allow
it to be overridden as well.
2003-08-13 03:59:18 +00:00
David Xu
090b336154
o Eliminate upcall for PTHREAD_SYSTEM_SCOPE thread, now it
...
is system bound thread and when it is blocked, no upcall is generated.
o Add ability to libkse to allow it run in pure 1:1 threading mode,
defining SYSTEM_SCOPE_ONLY in Makefile can turn on this option.
o Eliminate code for installing dummy signal handler for sigwait call.
o Add hash table to find thread.
Reviewed by: deischen
2003-07-17 23:02:30 +00:00
Daniel Eischen
84001cde8f
For now, build and install this as libkse instead of libpthread.
...
This will avoid any accidental use of an experimental library.
Suggested by: rwatson
Approved by: re (jhb)
2002-12-08 22:43:31 +00:00
Jonathan Mini
cfa1f4e659
Mechanically change all libc_r references to libpthread.
2002-09-16 19:29:34 +00:00
Daniel Eischen
c3d580c9a1
Fix a couple of minor nits that prevented this from compiling.
...
Pointed out by: julian
2002-07-02 01:26:16 +00:00
Dag-Erling Smørgrav
d397408818
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
Kris Kennaway
6dac8ac9e5
Mark some functions as __printflike() and/or taking const char * arguments
...
instead of char *.
MFC after: 2 weeks
2001-08-20 12:53:36 +00:00
Jason Evans
aa33517e94
Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used to
...
be malloc()ed, but they are now allocated using mmap(), just as the
default-size stacks are. A separate cache of stacks is kept for
non-default-size stacks.
Collaboration with: deischen
2001-07-20 04:23:11 +00:00
Jason Evans
c024882f08
Add a test for PR 24345.
2001-05-20 23:12:13 +00:00
Jason Evans
b39e7e33f1
Update the verify script.
2001-05-20 23:11:54 +00:00
Jason Evans
745b431dc6
Don't define _REENTRANT, since the Makefile does so.
2001-05-20 23:11:09 +00:00
Jason Evans
dd2d9a766b
Fix a typo.
2001-05-20 23:10:30 +00:00
Daniel Eischen
75f7221ee6
-pthread -> -lc_r
2001-01-24 13:41:04 +00:00
Jason Evans
e419521997
Add test to detect propagation of cancellation points within libc_r.
2000-04-26 23:25:58 +00:00
Jason Evans
be1d533999
Automated regression test harness for libc_r. Existing tests are integrated,
...
a new test for POSIX semaphores was added, and examples of harness usage are
included.
2000-04-24 21:07:45 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
John Birrell
33859c8093
Add mutex test program.
1999-05-09 07:50:31 +00:00
John Birrell
058716097d
Revise test code for sigwait and add test code for sigsuspend.
...
Submitted by: Daniel M. Eischen <eischen@vigrid.com>
1998-09-30 07:08:09 +00:00
John Birrell
ad8f637466
Add support for building test programs.
1998-08-25 12:33:22 +00:00