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


Keyword substitution: kv
Default branch: MAIN


Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Jan 19 19:55:03 2024 UTC (10 months, 2 weeks ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -2 lines
Add missing headers

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jul 28 18:19:00 2023 UTC (16 months, 1 week ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -5 lines
Add epoll(2) from Theodore Preduta as part of GSoC 2023

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Apr 19 20:32:17 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 10 10:38:33 2022 UTC (2 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +10 -10 lines
pthread: Nix trailing whitespace.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Feb 12 14:59:32 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 5 11:02:18 2021 UTC (3 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +143 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 1 20:13:38 2021 UTC (3 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -7 lines
remove parameter names from decls.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Oct 1 17:13:44 2021 UTC (3 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +144 -2 lines
PR/56424: Clay Mayers: recvfrom() is not a cancelation point as documented
in pthread_setcanceltype.3

Revision 1.35.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:36:59 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.35.4.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.4.1: +5 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 06:21:08 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +5 -3 lines
resync from head

Revision 1.35.6.2: download - view: text, markup, annotated - select for diffs
Mon Apr 29 01:50:18 2013 UTC (11 years, 7 months ago) by riz
Branches: 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
Diff to: previous 1.35.6.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.6.1: +5 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 21 16:49:12 2013 UTC (11 years, 8 months ago) by christos
Branches: 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-3-RELEASE, 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -3 lines
- 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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:31 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +27 -2 lines
sync with head

Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 18:15:27 2012 UTC (12 years, 7 months ago) by riz
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +27 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 4 17:47:03 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
trailing whitespace police.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Apr 4 06:29:16 2012 UTC (12 years, 8 months ago) by agc
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +27 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 22 14:18:34 2011 UTC (13 years, 7 months ago) by joerg
Branches: 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
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +16 -2 lines
Don't kill the read(2) stub, just the magic around it.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Apr 21 13:38:14 2011 UTC (13 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -38 lines
Disable Fortification for pthread and rump stubs.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Apr 21 08:17:00 2011 UTC (13 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -10 lines
Backout previous, it causes lots of test failures (tests/fs/nfs for
example).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Apr 12 19:52:04 2011 UTC (13 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +12 -5 lines
Fix SSP builds (Vladimir Kirillov)

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:01 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +23 -5 lines
Sync with HEAD

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jan 26 18:48:57 2011 UTC (13 years, 10 months ago) by christos
Branches: MAIN
CVS tags: bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5 lines
make the code more re-usable

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jan 26 18:11:35 2011 UTC (13 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +25 -12 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 25 19:13:26 2011 UTC (13 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +11 -6 lines
Fix SSP build.
XXX: This is gross.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Aug 6 05:25:46 2010 UTC (14 years, 4 months ago) by christos
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +21 -2 lines
make kevent(2) a cancelation point, and document properly all the cancelation
points we currently support.

Revision 1.22.6.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 05:28:11 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +22 -2 lines
sync to netbsd-5

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 5 12:51:09 2009 UTC (15 years, 3 months ago) by bouyer
Branches: 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
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +22 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 12 23:51:23 2009 UTC (15 years, 3 months ago) by enami
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +23 -2 lines
Make nanosleep cancelable again.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jan 13 01:50:04 2009 UTC (15 years, 10 months ago) by christos
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +11 -5 lines
fix __sigtimedwait50

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:46:48 2009 UTC (15 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +34 -34 lines
merge christos-time_t

Revision 1.24.2.3: download - view: text, markup, annotated - select for diffs
Sat Jan 10 21:56:42 2009 UTC (15 years, 10 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.24.2.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.2: +4 -4 lines
use the proper sigtimedwait.

Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Mon Dec 29 15:10:58 2008 UTC (15 years, 11 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.1: +569 -0 lines
commit changes to the right branch.

Revision 1.24.2.1
Mon Dec 29 15:08:03 2008 UTC (15 years, 11 months ago) by christos
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.24: +0 -569 lines
file pthread_cancelstub.c was added on branch christos-time_t on 2008-12-29 15:10:58 +0000

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 29 15:08:03 2008 UTC (15 years, 11 months ago) by christos
Branches: MAIN
CVS tags: christos-time_t-nbase, christos-time_t-base
Branch point for: christos-time_t
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +32 -32 lines
revert previous. It was meant for the branch

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Dec 28 21:33:35 2008 UTC (15 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +34 -34 lines
adjust for time_t 64

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 8 08:27:07 2008 UTC (16 years, 2 months ago) by ad
Branches: 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
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +78 -81 lines
Adjust the compat stuff slightly so that the changes are mostly self
contained (Makefile, pthread_compat.c).

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Sep 29 08:48:15 2008 UTC (16 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +83 -80 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 18 04:39:24 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +7 -2 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Jun 28 16:50:43 2008 UTC (16 years, 5 months ago) by ad
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -2 lines
Shut lint up.

Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:30:39 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +2 -9 lines
sync with head.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:01 2008 UTC (16 years, 7 months ago) by martin
Branches: 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
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.14.6.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:40:28 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.14.6.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.2: +6 -2 lines
sync with HEAD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Feb 2 17:09:29 2008 UTC (16 years, 10 months ago) by christos
Branches: 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -2 lines
PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Avoid read redefinition

Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:36:34 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.1: +5 -5 lines
sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Dec 24 16:04:21 2007 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
- Use pthread__cancelled() in more places.
- pthread_join(): assert that pthread_cond_wait() returns zero.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Nov 19 15:12:18 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: cube-autoconf-base, cube-autoconf
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines
int -> ssize_t in a couple of places.

Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:11:40 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +90 -2 lines
sync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Oct 9 18:18:33 2007 UTC (17 years, 2 months ago) by rmind
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +90 -2 lines
Add cancellation stubs in libpthread for POSIX messages queues and
asynchronous I/O.

OK by <ad>.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 4 20:07:13 2007 UTC (17 years, 9 months ago) by ad
Branches: 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
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +36 -4 lines
Add __sigsuspend14, sigtimedwait as cancellation points.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Sep 13 02:45:38 2005 UTC (19 years, 2 months ago) by christos
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -2 lines
XXX: Work around libpthread's "intimate" connection with libc.

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 21 09:29:27 2005 UTC (19 years, 8 months ago) by tron
Branches: 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
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +1 -0 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 21 09:00:49 2005 UTC (19 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Include <sys/select.h> explicitly rather than relying on other headers
to do it.

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 20 12:11:25 2005 UTC (19 years, 8 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +42 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 18 11:23:44 2005 UTC (19 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +42 -4 lines
Interpose cancellation points in pollts() and pselect(), bringing us
to libc.so.12.127 and libpthread.so.0.6.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 10 00:34:23 2005 UTC (19 years, 9 months ago) by kleink
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -11 lines
Move up the definition of __LIBC12_SOURCE__; since <poll.h> now includes
<sys/sigtypes.h> this is needed earlier.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 21 17:15:42 2004 UTC (20 years, 6 months ago) by kleink
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +18 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 24 23:23:17 2003 UTC (21 years ago) by cl
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
add CONSTCOND in constant condition.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Nov 21 23:03:13 2003 UTC (21 years ago) by nathanw
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +45 -40 lines
Manually inline pthread__testcancel in these routines; two function
calls' worth of overhead per cancellable syscall is overkill.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Nov 18 00:56:57 2003 UTC (21 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +24 -2 lines
Userland portion of fsync_range(2), written by Bill Studenmund, and
contributed by Wasabi Systems, Inc.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 8 08:03:35 2003 UTC (21 years, 9 months ago) by lukem
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -1 lines
add __RCSID()

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Feb 15 22:15:50 2003 UTC (21 years, 9 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -17 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 27 20:57:41 2003 UTC (21 years, 10 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +32 -1 lines
Add cancellation stubs for accept() and connect().

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jan 18 10:34:15 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +344 -0 lines
Merge the nathanw_sa branch.

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Wed Jan 8 19:34:22 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.5: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 3 12:29:02 2002 UTC (22 years, 1 month ago) by skrll
Branches: nathanw_sa
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +3 -2 lines
Whitespace.

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 14 23:22:05 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +15 -1 lines
Oops, re-add nanosleep stub, which had been accidentally deleted.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 2 22:20:48 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +53 -49 lines
Adapt to new syscall stub names. Create strong aliases for override functions.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon May 20 19:18:44 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +1 -16 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 28 18:48:51 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +338 -0 lines
Add cancellation-wrapped syscall stubs that override the weak symbols
in libsyscall.

Revision 1.1
Mon Jan 28 18:48:51 2002 UTC (22 years, 10 months ago) by nathanw
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>