Commit graph

18 commits

Author SHA1 Message Date
msaitoh
2cf4f09e3a Update to PTL-2.1.9
Changes:

* fixed: pthread_kill() does not restore the critical level when given
  signal number is zero.

* New API: POSIX readdir_r.

* fixed: interruption by a signal whose handler is SIG_SIGWAIT_NP may
  cause infinite loop.

* fixed: PTL's internal SIGSEGV handler gets strange arguments on a
  system that has POSIX-based signal facility.
2002-12-12 07:07:05 +00:00
tron
b330a4fe8e Add work arround for buffer overflow in PTL2 library as suggested by
Nick Hudson. This fixes PR pkg/18585. Bump package revision to 1.
2002-10-10 18:59:30 +00:00
tron
5ba094652e Fix silly bug in an utility script which wouldn't accept "gcc" if it is
called "cc".
2002-09-25 15:54:23 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
skrll
3f88fa7ac6 Patch the config.guess files with the latest version. This fixes builds on
new ARM based machines (tested on CATS) and others.

Roll on CONFIG_GUESS_OVERRIDE.

This fixes part of pkg/16389 from Richard Earnshaw <rearnsha@arm.com>
2002-06-24 12:09:43 +00:00
bad
b83a2d3e62 Add RCS ID. 2001-07-13 16:06:46 +00:00
bad
f5d2810794 Make sure to test for __sparc__ so that NO_SHM gets defined on NetBSD/sparc. 2001-07-13 16:02:38 +00:00
tron
60ffab8ff2 Work arround for build problems under NetBSD-current. This fixes
PR pkg/13171 by myself.
2001-06-12 10:40:39 +00:00
msaitoh
c4354bc45b Jump to PTL-2.1.2
Changes between PTL2-current-990622 and PTL-2.1.2

	* support NetBSD/arm32.

	* fix a configure.in bug which fails if $MACHINE != $MACHINE_ARCH.

	* src/io_udp.c (send_timedwait, sendto_timedwait,
 	sendmsg_timedait): While underlying system calls return with
 	EWOULDBLOCK, continue writing.

	* src/signal.c (_pthread_signal_init): On system that PTL can set
 	the stack pointer without using sigstack(), SIGUSR2 can be used
 	for user's purpose.

	* src/internal.h (END_CRITICAL): fixed: signal interruptions are
 	lost in certain situation theoretically.

	* src/io.c: use O_NONBLOCK rather than O_NDELAY in SunOS5.

	* Util/Makefile.in: version number of libPTL.so is changed to 2.0.

	* src/specific.c (pthread_key_create, pthread_setspecific): if
 	fail to allocate the memory, returns ENOMEM.

	* src/cond.c, src/mutex.c, include/sys/types.h: pthread_mutex_t
 	and pthread_cond_t are changed from `pointer to struct' to
 	`struct'.

	* src/cond-attr.c, include/sys/types.h: pthread_condattr_t is
 	changed from integer handle to struct.

	* src/cond.c, src/mutex.c, src/pthread.c:
 	pthread_{mutex_,cond_,}setname_np returns ENOMEM if malloc()
 	returns NULL.

	* src/cancel.c (pthread_setcancelstate): if FLAG_CLEANUP_HANDLER
 	is set, do not call pthread_exit() even if PTHREAD_CANCEL_ENABLE
 	is specified and the thread is already cancel requested.

	(pthread_testcancel): similar to above.

	* src/internal.h (FLAG_CLEANUP_HANDLER): this flag shows that the
 	thread is currently executing cleanup handlers.

	* src/sched.c (after_csw): Clear FLAG_DO_CANCEL flag before
 	executing cleanup handlers to prevent entering executing cleanup
 	handlers loop.

	* src/io.c (_pthread_pdb_iostat): Implement `iostat' command into
 	PDB.
2000-05-07 11:18:19 +00:00
rh
c742e6f2f9 defuzz 1999-11-15 19:16:34 +00:00
tv
a724af7aa3 Do not create a "libPTL.so" link. This will be done by the pkg system at
install time, and should NOT happen for a.out at all.  (I'll re-add the
removed patches to do this correctly for ELF, and use shlib constructor as
opposed to "every object file constructor", later.)
1999-05-12 16:17:53 +00:00
msaitoh
c49c48e186 Upate PTL2 to PTL2-current-990512. 1999-05-12 13:24:26 +00:00
tv
6ffc0333da Use proper ELF build (with -soname); also add c++rt0 for a.out and
crt{begin,end}S for ELF so that a constructor does not have to be attached
to every resultant .o file (_pthread_init() becomes a constructor in the
library itself).  Add ptlg++ as analogue of ptlgcc.
The pkgname is renamed ptl-990315 (drop -current-) so this version is not
considered compatible in binary form.
1999-05-06 20:07:21 +00:00
tron
ddc0bf51a1 Backout this change, the link options are passed to "ld" not "gcc" 1999-05-02 17:18:53 +00:00
tron
ee0c971f4f Add missing prototypes to PTL's "include/arpa/inet.h". Patch supplied
by Michael Graff in PR pkg/7507.
1999-05-02 16:53:00 +00:00
tron
f37c597c55 Use "-Wl,-R" instead of "-R" in "ptlgcc" to be compatible with the
broken "cc" on 1.3 ELF systems.
1999-05-01 14:38:53 +00:00
tron
f4b715441e Fix complilation warning caused by missing prototype for init hook.
Patch supplied by Michael Graff in PR pkg/7495.
1999-05-01 10:24:40 +00:00
tron
e4e661d09b New "ptl2" package supplied by SAITOH Masanobu in pkg/7212:
This is PTL2 -- Portable Thread Library 2 wrrtten by Kota Abe.
1999-03-29 23:13:56 +00:00