The NetBSD Project

CVS log for src/lib/libpthread/pthread_cancelstub.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libpthread

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.43 / (download) - annotate - [select for diffs], Tue Apr 19 20:32:17 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Apr 10 10:38:33 2022 UTC (9 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.41: +10 -10 lines
Diff to previous 1.41 (colored)

pthread: Nix trailing whitespace.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Feb 12 14:59:32 2022 UTC (11 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.40: +5 -2 lines
Diff to previous 1.40 (colored)

libpthread: Move namespacing include to top of .c files.

Stuff like libc's namespace.h, or atomic_op_namespace.h, which does
namespacing tricks like `#define atomic_cas_uint _atomic_cas_uint',
has to go at the top of each .c file.  If it goes in the middle, it
might be too late to affect the declarations, and result in compile
errors.

I tripped over this by including <sys/atomic.h> in mips
<machine/lock.h>.

(Maybe we should create a new pthread_namespace.h file for the
purpose, but this'll do for now.)

Revision 1.38.32.1 / (download) - annotate - [select for diffs], Tue Oct 5 11:02:18 2021 UTC (15 months, 3 weeks ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.38: +143 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by christos in ticket #1355):

	lib/libpthread/pthread_cancelstub.c: revision 1.39
	lib/libc/sys/Makefile.inc: revision 1.247
	lib/libpthread/pthread_cancelstub.c: revision 1.40

PR/56424: Clay Mayers: recvfrom() is not a cancelation point as documented
in pthread_setcanceltype.3

remove parameter names from decls.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Oct 1 20:13:38 2021 UTC (16 months ago) by christos
Branch: MAIN
Changes since 1.39: +6 -7 lines
Diff to previous 1.39 (colored)

remove parameter names from decls.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Oct 1 17:13:44 2021 UTC (16 months ago) by christos
Branch: MAIN
Changes since 1.38: +144 -2 lines
Diff to previous 1.38 (colored)

PR/56424: Clay Mayers: recvfrom() is not a cancelation point as documented
in pthread_setcanceltype.3

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:59 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.4.1: +5 -3 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:08 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.37: +5 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

resync from head

Revision 1.35.6.2 / (download) - annotate - [select for diffs], Mon Apr 29 01:50:18 2013 UTC (9 years, 9 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.35.6.1: +5 -3 lines
Diff to previous 1.35.6.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Pull up following revision(s) (requested by manu in ticket #869):
	lib/libpthread/pthread_rwlock.c: revision 1.33
	lib/libc/include/reentrant.h: revision 1.16
	lib/libpthread/pthread_cond.c: revision 1.59
	lib/libpthread/pthread_misc.c: revision 1.15
	lib/libc/thread-stub/thread-stub.c: revision 1.23
	lib/libpthread/pthread_cancelstub.c: revision 1.38
	lib/libpthread/pthread_specific.c: revision 1.26
	lib/libpthread/pthread_mutex.c: revision 1.56
	lib/libpthread/pthread_tsd.c: revision 1.11
	lib/libpthread/Makefile: revision 1.80
	lib/libpthread/pthread.c: revision 1.143
	lib/libpthread/pthread_int.h: revision 1.89
- Allow libpthread to be dlopened again, by providing libc stubs to
libpthread.
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approved by core@
- This was chosen as the least intrusive patch that will provide
  the necessary functionality.
XXX: pullup to 6

Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 21 16:49:12 2013 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: netbsd-9
Changes since 1.37: +5 -3 lines
Diff to previous 1.37 (colored)

- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approved by core@
- This was chosen as the least intrusive patch that will provide
  the necessary functionality.
XXX: pullup to 6

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:31 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.35: +27 -2 lines
Diff to previous 1.35 (colored)

sync with head

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Mon Apr 9 18:15:27 2012 UTC (10 years, 9 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.35: +27 -2 lines
Diff to previous 1.35 (colored)

Pull up following revision(s) (requested by agc in ticket #174):
	lib/libpthread/pthread_cancelstub.c: revision 1.36
Add a pthread cancel stub for sigwait, following Onno van der Linden's
analysis in PR 45131.  Kindly tested by Hisashi T Fujinaka (using csup
as the test case) with a successful outcome.
OK martin@

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 4 17:47:03 2012 UTC (10 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

trailing whitespace police.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 4 06:29:16 2012 UTC (10 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.35: +27 -2 lines
Diff to previous 1.35 (colored)

Add a pthread cancel stub for sigwait, following Onno van der Linden's
analysis in PR 45131.  Kindly tested by Hisashi T Fujinaka (using csup
as the test case) with a successful outcome.

OK martin@

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 22 14:18:34 2011 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.34: +16 -2 lines
Diff to previous 1.34 (colored)

Don't kill the read(2) stub, just the magic around it.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Apr 21 13:38:14 2011 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.33: +5 -38 lines
Diff to previous 1.33 (colored)

Disable Fortification for pthread and rump stubs.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 21 08:17:00 2011 UTC (11 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.32: +3 -10 lines
Diff to previous 1.32 (colored)

Backout previous, it causes lots of test failures (tests/fs/nfs for
example).

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 12 19:52:04 2011 UTC (11 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.31: +12 -5 lines
Diff to previous 1.31 (colored)

Fix SSP builds (Vladimir Kirillov)

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:01 2011 UTC (11 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.28: +23 -5 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 26 18:48:57 2011 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

make the code more re-usable

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 26 18:11:35 2011 UTC (12 years ago) by christos
Branch: MAIN
Changes since 1.29: +25 -12 lines
Diff to previous 1.29 (colored)

Moving the ssp check inside the source code does not work properly because
the compiler loses information about the size of the object. So instead of
the hacky #define mess we did before, add a way to inject our function between
the user call and the system call.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 25 19:13:26 2011 UTC (12 years ago) by christos
Branch: MAIN
Changes since 1.28: +11 -6 lines
Diff to previous 1.28 (colored)

Fix SSP build.
XXX: This is gross.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 6 05:25:46 2010 UTC (12 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.27: +21 -2 lines
Diff to previous 1.27 (colored)

make kevent(2) a cancelation point, and document properly all the cancelation
points we currently support.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:28:11 2010 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.22: +22 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync to netbsd-5

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Sep 5 12:51:09 2009 UTC (13 years, 4 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.22: +22 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up following revision(s) (requested by enami in ticket #921):
	lib/libpthread/pthread_misc.c: revision 1.14 via patch
	lib/libpthread/pthread_cancelstub.c: revision 1.27 via patch
Make nanosleep cancelable again.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Aug 12 23:51:23 2009 UTC (13 years, 5 months ago) by enami
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.26: +23 -2 lines
Diff to previous 1.26 (colored)

Make nanosleep cancelable again.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 13 01:50:04 2009 UTC (14 years ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.25: +11 -5 lines
Diff to previous 1.25 (colored)

fix __sigtimedwait50

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 11 02:46:48 2009 UTC (14 years ago) by christos
Branch: MAIN
Changes since 1.24: +34 -34 lines
Diff to previous 1.24 (colored)

merge christos-time_t

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Sat Jan 10 21:56:42 2009 UTC (14 years ago) by christos
Branch: christos-time_t
Changes since 1.24.2.2: +4 -4 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

use the proper sigtimedwait.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Mon Dec 29 15:10:58 2008 UTC (14 years, 1 month ago) by christos
Branch: christos-time_t
Changes since 1.24.2.1: +569 -0 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

commit changes to the right branch.

Revision 1.24.2.1, Mon Dec 29 15:08:03 2008 UTC (14 years, 1 month ago) by christos
Branch: christos-time_t
Changes since 1.24: +0 -569 lines
FILE REMOVED

file pthread_cancelstub.c was added on branch christos-time_t on 2008-12-29 15:10:58 +0000

Revision 1.24 / (download) - annotate - [select for diffs], Mon Dec 29 15:08:03 2008 UTC (14 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: christos-time_t-nbase, christos-time_t-base
Branch point for: christos-time_t
Changes since 1.23: +32 -32 lines
Diff to previous 1.23 (colored)

revert previous. It was meant for the branch

Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 28 21:33:35 2008 UTC (14 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.22: +34 -34 lines
Diff to previous 1.22 (colored)

adjust for time_t 64

Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 8 08:27:07 2008 UTC (14 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: netbsd-5, matt-nb5-mips64
Changes since 1.21: +78 -81 lines
Diff to previous 1.21 (colored)

Adjust the compat stuff slightly so that the changes are mostly self
contained (Makefile, pthread_compat.c).

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 29 08:48:15 2008 UTC (14 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.20: +83 -80 lines
Diff to previous 1.20 (colored)

make PTHREAD__COMPAT=1

Builds a libpthread that can be dropped into a NetBSD 2/3/4 chroot.

This makes threading work in the chroot when using a NetBSD 5 kernel, no
other modifications required.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:24 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.19: +7 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jun 28 16:50:43 2008 UTC (14 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.19: +7 -2 lines
Diff to previous 1.19 (colored)

Shut lint up.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:39 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:01 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.14.6.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:40:28 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.14.6.2: +6 -2 lines
Diff to previous 1.14.6.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Sat Feb 2 17:09:29 2008 UTC (15 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: yamt-pf42
Changes since 1.17: +6 -2 lines
Diff to previous 1.17 (colored)

PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Avoid read redefinition

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:34 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.14.6.1: +5 -5 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored)

sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 24 16:04:21 2007 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

- Use pthread__cancelled() in more places.
- pthread_join(): assert that pthread_cond_wait() returns zero.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 19 15:12:18 2007 UTC (15 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

int -> ssize_t in a couple of places.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:40 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.14: +90 -2 lines
Diff to previous 1.14 (colored)

sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 9 18:18:33 2007 UTC (15 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.14: +90 -2 lines
Diff to previous 1.14 (colored)

Add cancellation stubs in libpthread for POSIX messages queues and
asynchronous I/O.

OK by <ad>.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 4 20:07:13 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base5, nick-csl-alignment-base4, nick-csl-alignment-base3, nick-csl-alignment-base2, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.13: +36 -4 lines
Diff to previous 1.13 (colored)

Add __sigsuspend14, sigtimedwait as cancellation points.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 13 02:45:38 2005 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

XXX: Work around libpthread's "intimate" connection with libc.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Mon Mar 21 09:29:27 2005 UTC (17 years, 10 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.10.2.1: +1 -0 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Pull up revision 1.12 (requested by kleink in ticket #38):
Include <sys/select.h> explicitly rather than relying on other headers
to do it.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 21 09:00:49 2005 UTC (17 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

Include <sys/select.h> explicitly rather than relying on other headers
to do it.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sun Mar 20 12:11:25 2005 UTC (17 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.10: +42 -4 lines
Diff to previous 1.10 (colored)

Pull up revision 1.11 (requested by kleink in ticket #27):
Interpose cancellation points in pollts() and pselect(), bringing us
to libc.so.12.127 and libpthread.so.0.6.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 18 11:23:44 2005 UTC (17 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.10: +42 -4 lines
Diff to previous 1.10 (colored)

Interpose cancellation points in pollts() and pselect(), bringing us
to libc.so.12.127 and libpthread.so.0.6.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 10 00:34:23 2005 UTC (17 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.9: +12 -11 lines
Diff to previous 1.9 (colored)

Move up the definition of __LIBC12_SOURCE__; since <poll.h> now includes
<sys/sigtypes.h> this is needed earlier.

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 21 17:15:42 2004 UTC (18 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.8: +18 -2 lines
Diff to previous 1.8 (colored)

IEEE Std 1003.1-2001/Cor 2-2004, item XSH/TC2/D6/5: fdatasync() shall
have cancellation points.

Note: we ride today's resolver-related version bumps.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 24 23:23:17 2003 UTC (19 years, 2 months ago) by cl
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

add CONSTCOND in constant condition.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 21 23:03:13 2003 UTC (19 years, 2 months ago) by nathanw
Branch: MAIN
Changes since 1.6: +45 -40 lines
Diff to previous 1.6 (colored)

Manually inline pthread__testcancel in these routines; two function
calls' worth of overhead per cancellable syscall is overkill.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 18 00:56:57 2003 UTC (19 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +24 -2 lines
Diff to previous 1.5 (colored)

Userland portion of fsync_range(2), written by Bill Studenmund, and
contributed by Wasabi Systems, Inc.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 8 08:03:35 2003 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

add __RCSID()

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 15 22:15:50 2003 UTC (19 years, 11 months ago) by nathanw
Branch: MAIN
Changes since 1.3: +1 -17 lines
Diff to previous 1.3 (colored)

Implement nanosleep() at userlevel. Threaded applications seem to like
to sleep a lot, and there's no need for each such thread to consume kernel
resources.

(accidentally checked the pthread.c part of this in yesterday; no reason
 not to finish the job)

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 27 20:57:41 2003 UTC (20 years ago) by nathanw
Branch: MAIN
Changes since 1.2: +32 -1 lines
Diff to previous 1.2 (colored)

Add cancellation stubs for accept() and connect().

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 18 10:34:15 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.1: +344 -0 lines
Diff to previous 1.1 (colored)

Merge the nathanw_sa branch.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Wed Jan 8 19:34:22 2003 UTC (20 years ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.5: +3 -1 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Rewrite the way libpthread provides thread primitives to libc, using
strong and weak aliases (the way cancelation points are handled).

Work around lame Unix static library semantics which could cause
the wrong thread primitives or cancelation point functions to be
included in a statically-linked program.

THIS IS AN ABI CHANGE.  People running the nathanw_sa branch should
ensure that their libc and libpthread are in sync after updating.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Sun Nov 3 12:29:02 2002 UTC (20 years, 3 months ago) by skrll
Branch: nathanw_sa
Changes since 1.1.2.4: +3 -2 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

Whitespace.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Aug 14 23:22:05 2002 UTC (20 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.3: +15 -1 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Oops, re-add nanosleep stub, which had been accidentally deleted.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Aug 2 22:20:48 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.2: +53 -49 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Adapt to new syscall stub names. Create strong aliases for override functions.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon May 20 19:18:44 2002 UTC (20 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.1: +1 -16 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Many signal improvements:

 - Implement sigsuspend()
 - Take pending signals that are unblocked in pthread_sigmask().
 - Tweak the signal mask passed by sigaction() to permit us to manage
   our own thread-specific signal masks.
 - Don't try to deliver signals to zombie threads.
 - Prevent a race between deciding a thread can take a signal and actually
   taking it.
 - Don't put threads that are blocked in a syscall on the run queue.
 - Add debug logging.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Jan 28 18:48:51 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +338 -0 lines
Diff to previous 1.1 (colored)

Add cancellation-wrapped syscall stubs that override the weak symbols
in libsyscall.

Revision 1.1, Mon Jan 28 18:48:51 2002 UTC (21 years ago) by nathanw
Branch: MAIN
CVS Tags: nathanw_sa_before_merge
Branch point for: nathanw_sa
FILE REMOVED

file pthread_cancelstub.c was initially added on branch nathanw_sa.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>