summaryrefslogtreecommitdiff
path: root/test/pthread
AgeCommit message (Collapse)Author
2016-05-31linuxthreads.old: Fix segfault when pthread_mutex_unlock() called against ↵Leonid Lisovskiy
unlocked NORMAL mutex. Althought, it is undefined behavior, there is no reason for segfault. Program received signal SIGSEGV, Segmentation fault. __pthread_unlock (lock=lock@entry=0x804b03c <lock+16>) at libpthread/linuxthreads.old/spinlock.c:231 231 (&lock->__status, oldstatus, (long)(thr->p_nextlock) & ~1L)) It occurs only on platforms which has HAS_COMPARE_AND_SWAP defined. Restore glibc commit fbaf6e72d6 "spinlock.c (__pthread_unlock): Don't crash if called for an untaken mutex." behavior, broken later by commit 4ad1d0cfbf. Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
2016-04-15replace FSF addresses with URLsNikola Forró
License notices in most of the source files refer to an outdated FSF address. Replace it with URL, like in the rest of the source files.Signed-off-by: Nikola Forró <nforro@redhat.com>
2016-01-06linuxthreads.old: Implement pthread_tryjoin_np(), pthread_timedjoin_np()Leonid Lisovskiy
Some applications needs it. Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
2013-03-14test: add missing top_srcdirBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-01-29handle signal-OBXSI.SUSv4.symsBernhard Reutner-Fischer
A couple of sig functions are obsolete in SUSv4. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-12-03build: Move test build flags in Makefile.inCarmelo Amoroso
Move test build flags in Makefile.in Makefile should be used only as a container for other sub Makefiles Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-11-29test/pthread: fix build of cancellation-points testAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-28Merge remote branch 'origin/master' into nptlAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-25call nanosleep directlyBernhard Reutner-Fischer
usleep is a SUSv3 function. TODO: nanosleep moved from SUSv3 Timers to SUSv4 Base Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-25conditional cancellation-point test of usleepBernhard Reutner-Fischer
usleep is a SUSv3 function Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-10-17build system changes needed for nptlAustin Foxley
* add include dir for nptl * pregen nptl headers * add include dir to pick up subarchs * a few tweaks for test/* to match state of the code Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-03-16Fixed makefiles inclusion flow to pass actual configuration variable values.Carmelo Amoroso
Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2007-05-02cancellation-points needs librtMike Frysinger
2007-05-02exercise all required POSIX pthread cancellation pointsMike Frysinger
2007-04-17disable for nowMike Frysinger
2007-02-20make sure cleanup handler is only called onceMike Frysinger
2007-01-29fixup shadowed warningsMike Frysinger
2007-01-29fixup prototype warningsMike Frysinger
2006-07-05fix license noticeMike Frysinger
2006-02-15dont bother setting TESTS nowMike Frysinger
2006-02-14convert to new test frameworkMike Frysinger
2006-02-14fix gcc warning: ex3.c:31: warning: int format, different type arg (arg 2)Mike Frysinger
2006-02-08fix warnings on 64bit hostsMike Frysinger
2005-07-01make test output nicer so its easier to go through a log of `make -s` and ↵Mike Frysinger
find out what works/fails
2005-07-01remove old depend on Config and make it so that a test failure aborts the ↵Mike Frysinger
make process
2005-06-30exit with an error if thread functions failed so make can detect the problemMike Frysinger
2005-06-29simplify TESTDIR setting and touchupMike Frysinger
2005-02-12no more cvsMike Frysinger
2004-01-02Do not make tests depend on CC, since we no longer build a wrapper.Eric Andersen
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2002-08-23Ignore generated binariesEric Andersen
2002-02-20Add a test from Stefan Soucek for pthread_cond_timedwait(). OnEric Andersen
mmu-less ARM perhaps sigsetjmp() isn't working?
2002-02-13Several test suite updates. The testatexit, teston_exit, andEric Andersen
pthread tests were contributed by Stefan Soucek