OpenBSD CVS

CVS log for src/lib/librthread/Attic/rthread_cond.c


[BACK] Up to [local] / src / lib / librthread

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4, Tue Sep 5 02:40:54 2017 UTC (6 years, 9 months ago) by guenther
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED

Move mutex, condvar, and thread-specific data routes, pthread_once, and
pthread_exit from libpthread to libc, along with low-level bits to
support them.  Major bump to both libc and libpthread.

Requested by libressl team.  Ports testing by naddy@
ok kettenis@

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 29 16:42:10 2017 UTC (6 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +0 -2 lines
Diff to previous 1.2 (colored)

not all the world is an i386.  Back out breakage.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 29 08:36:23 2017 UTC (6 years, 10 months ago) by pirofti
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Use memory barriers to prevent pointer use before initialization.

This work was sparked by the topic posted on hn by wuch. I am still not
sure that this fixes the defect he claims to have observed because I was
not able to create a proper regress test for it to manifest.

To that end, a proof of concept is more than welcomed!
Thank you for the report!

Discussed with and OK kettenis@, tedu@.

Revision 1.1 / (download) - annotate - [select for diffs], Sat May 27 14:20:39 2017 UTC (7 years ago) by mpi
Branch: MAIN

New mutex and condvar implementations based on futex(2).

Not enabled yet, it needs some SPINLOCK_SPIN_HOOK love and
some bumps.

Tested by many including sthen@ in a bulk.

ok visa@, sthen@, kettenis@, tedu@

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.