⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 pthread source code,you can compile directly
💻
📖 第 1 页 / 共 2 页
字号:
2005-05-18  Ross Johnson  <rpj@callisto.canberra.edu.au>	* reuse2.c (main): Must use a read with memory barrier semantics	when polling 'done' to force the cache into coherence on MP systems.2005-05-15  Ross Johnson  <rpj@callisto.canberra.edu.au>	* detach1.c: New test.	* join1.c: Reduce sleep times.	* join0.c: Remove MSVCRT conditional compile - join should always	return the thread exit code.	* join1.c: Likewise.	* join2.c: Likewise.	* join3.c: Likewise.2005-04-18  Ross Johnson  <rpj@callisto.canberra.edu.au>	* condvar3.c: Remove locks from around signalling calls - should not	be required for normal operation and only serve to mask deficiencies;	ensure that CV destruction is not premature after removing guards.	* condvar3_1.c: Likewise.	* condvar3_2.c: Likewise.	* condvar3_3.c: Likewise.	* condvar4.c: Likewise.	* condvar5.c: Likewise.	* condvar6.c: Likewise.	* condvar7.c: Likewise.	* condvar8.c: Likewise.	* condvar9.c: Likewise.2005-04-11  Ross Johnson  <rpj@callisto.canberra.edu.au>        * once4.c: New test; tries to test priority adjustments        in pthread_once(); set priority class to realtime so that        any failures can be seen.2005-04-06  Ross Johnson  <rpj@callisto.canberra.edu.au>	* cleanup0.c: Fix unguarded global variable accesses.	* cleanup1.c: Likewise.	* cleanup2.c: Likewise.	* cleanup3.c: Likewise.	* once2.c: Likewise.	* once3.c: Likewise.2005-04-01  Ross Johnson  <rpj@callisto.canberra.edu.au>	* GNUmakefile: Add target to test linking static link library.	* Makefile: Likewise.	* self1.c: Run process attach/detach routines when static linked.2005-03-16  Ross Johnson  <rpj@callisto.canberra.edu.au>	* mutex5.c: Prevent optimiser from removing asserts.2005-03-12  Ross Johnson  <rpj@callisto.canberra.edu.au>	* once3.c: New test.2005-03-08  Ross Johnson  <rpj@callisto.canberra.edu.au>        * once2.c: New test.2004-11-19  Ross Johnson  <rpj@callisto.canberra.edu.au>	* Bmakefile: New makefile for Borland.	* Makefile (DLL_VER): Added.	* GNUmakefile (DLL_VER): Added.	* Wmakefile (DLL_VER): Added.2004-10-29  Ross Johnson  <rpj@callisto.canberra.edu.au>	* semaphore4.c: New test.	* semaphore4t.c: New test.	* Debug.dsp (et al): Created MSVC Workspace project to aid debugging.	* All: Many tests have been modified to work with the new pthread	ID type; some other corrections were made after some library	functions were semantically strengthened. For example,	pthread_cond_destroy() no longer destroys a busy CV, which	required minor redesigns of some tests, including some where	the mutex associated with the CV was not locked during	signaling and broadcasting.2004-10-23  Ross Johnson  <rpj@callisto.canberra.edu.au>	* condvar3.c: Fixed mutex operations that were incorrectly	placed in relation to their condition variable operations.	The error became evident after sem_destroy() was rewritten	and conditions for destroing the semaphore were tightened.	As a result, pthread_cond_destroy() was not able to	destroy the cv queueing sempahore.	* condvar3_1.c: Likewise.	* condvar3_2.c: Likewise.	* condvar4.c: Likewise.	* condvar5.c: Likewise.	* condvar6.c: Likewise.	* condvar7.c: Likewise.	* condvar8.c: Likewise.	* condvar9.c: Likewise.2004-10-19  Ross Johnson  <rpj@callisto.canberra.edu.au>	* semaphore3.c: New test.2004-10-14  Ross Johnson  <rpj@callisto.canberra.edu.au>	* rwlock7.c (main): Tidy up statistics reporting; randomise	update accesses.	* rwlock8.c: New test.2004-09-08  Alexandre Girao  <alexgirao@gmail.com>	* cancel7.c (main): Win98 wants a valid (non-NULL) location	for the last arg of _beginthreadex().	* cancel8.c (main): Likewise.	* exit4.c (main): Likewise.	* exit5.c (main): Likewise.2004-08-26  Ross Johnson  <rpj@callisto.canberra.edu.au>	* create3.c: New test.2004-06-21  Ross Johnson  <rpj@callisto.canberra.edu.au>	* mutex2r.c: New test.	* mutex2e.c: New test.	* mutex3r.c: New test.	* mutex3e.c: New test.	* mutex6s.c: New test.	* mutex6rs.c: New test.	* mutex6es.c: New test.2004-05-21  Ross Johnson  <rpj@callisto.canberra.edu.au>	* join3.c: New test.2004-05-16  Ross Johnson  <rpj@callisto.canberra.edu.au>	* condvar2.c (WIN32_WINNT): Define to avoid redefinition warning	from inclusion of implement.h.	* convar2_1.c: Likewise.	* condvar3_1.c: Likewise.	* condvar3_2.c: Likewise.	* context1.c: Likewise.	* sizes.c: Likewise.	* Makefile: Don't define _WIN32_WINNT on compiler command line.	* GNUmakefile: Likewise.	* priority1.c (main): Add column to output for actual win32	priority.2004-05-16  Ross Johnson  <rpj@callisto.canberra.edu.au>	* cancel9.c: New test.	* cancel3.c: Remove inappropriate conditional compilation;	GNU C version of test suite no longer quietly skips this test.	* cancel5.c: Likewise.	* GNUmakefile: Can now build individual test app using default	C version of library using 'make clean testname.c'.	* Makefile: Likewise for VC using 'nmake clean test testname.c'.2003-10-14  Ross Johnson  <rpj@callisto.canberra.edu.au>	* Wmakefile: New makefile for Watcom testing.2003-09-18  Ross Johnson  <rpj@callisto.canberra.edu.au>	* benchtest.h: Move old mutex code into benchlib.c.	* benchlib.c: New statically linked module to ensure that	bench apps don't inline the code and therefore have an unfair	advantage over the pthreads lib routines. Made little or no	difference.	* benchtest1.c: Minor change to avoid compiler warnings.	* benchtest5.c: Likewise.	* benchtest2.c: Fix misinformation in output report.	* README.BENCH: Add comments on results.2003-09-14  Ross Johnson  <rpj@callisto.canberra.edu.au>	* priority1.c: Reworked to comply with modified priority	management and provide additional output.	* priority2.c: Likewise.	* inherit1.c: Likewise.2003-09-03  Ross Johnson  <rpj@callisto.canberra.edu.au>	* exit4.c: New test.	* exit5.c: New test.	* cancel7.c: New test.	* cancel8.c: New test.2003-08-13  Ross Johnson  <rpj@ise.canberra.edu.au>	* reuse1.c: New test.	* reuse1.c: New test.	* valid1.c: New test.	* valid2.c: New test.	* kill1.c: New test. 	* create2.c: Now included in test regime.2003-07-19  Ross Johnson  <rpj@ise.canberra.edu.au>	* eyal1.c (waste_time): Make threads do more work to ensure that	all threads get to do some work.	* semaphore1.c: Make it clear that certain errors are expected.	* exception2.c (non_MSVC code sections): Change to include	C++ standard include file, i.e. change <new.h> to <exception>.	* exception3.c (non_MSVC code sections): Likewise; qualify std::	namespace entities where necessary.	* GNUmakefile: modified to work in the MsysDTK (newer MinGW)	environment; define CC as gcc or g++ as appropriate because	using gcc -x c++ doesn't link with required c++ libs by default,	but g++ does.2002-12-11  Ross Johnson  <ross@special.ise.canberra.edu.au>	* mutex7e.c: Assert EBUSY return instead of EDEADLK.2002-06-03  Ross Johnson  <rpj@digit.ise.canberra.edu.au>	* semaphore2.c: New test.2002-03-02  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* Makefile (CFLAGS): Changed /MT to /MD to link with	the correct library MSVCRT.LIB. Otherwise errno doesn't	work.2002-02-28  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* exception3.c: Correct recent change.	* semaphore1.c: New test.	* Makefile: Add rule to generate pre-processor output.2002-02-28  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* exception3.c (terminateFunction): For MSVC++, call	exit() rather than pthread_exit(). Add comments to explain	why.	   * Notes from the MSVC++ manual:	   *       1) A term_func() should call exit(), otherwise	   *          abort() will be called on return to the caller.	   *          abort() raises SIGABRT. The default signal handler	   *          for all signals terminates the calling program with	   *          exit code 3.	   *       2) A term_func() must not throw an exception. Therefore	   *          term_func() should not call pthread_exit() if an	   *          an exception-using version of pthreads-win32 library	   *          is being used (i.e. either pthreadVCE or pthreadVSE).2002-02-23  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* rwlock2_t.c: New test.	* rwlock3_t.c: New test.	* rwlock4_t.c: New test.	* rwlock5_t.c: New test.	* rwlock6_t.c: New test.	* rwlock6_t2.c: New test.	* rwlock6.c (main): Swap thread and result variables	to correspond to actual thread functions.	* rwlock1.c: Change test description comment to correspond	to the actual test.	* condvar1_2.c: Loop over the test many times in the hope	of detecting any intermittent deadlocks. This is to	test a fixed problem in pthread_cond_destroy.c.	* spin4.c: Remove unused variable.2002-02-17  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* condvar1_1.c: New test.	* condvar1_2.c: New test.2002-02-07  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* delay1.c: New test.	* delay2.c: New test.	* exit4.c: New test.2002-02-02  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* mutex8: New test.	* mutex8n: New test.	* mutex8e: New test.	* mutex8r: New test.	* cancel6a: New test.	* cancel6d: New test.	* cleanup0.c: Add pragmas for inline optimisation control.	* cleanup1.c: Add pragmas for inline optimisation control.	* cleanup2.c: Add pragmas for inline optimisation control.	* cleanup3.c: Add pragmas for inline optimisation control.	* condvar7.c: Add pragmas for inline optimisation control.	* condvar8.c: Add pragmas for inline optimisation control.	* condvar9.c: Add pragmas for inline optimisation control.2002-01-30  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* cleanup1.c (): Must be declared __cdecl when compiled	as C++ AND testing the standard C library version.2002-01-16  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* spin4.c (main): Fix renamed function call.2002-01-14  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* exception3.c (main): Shorten wait time.2002-01-09  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* mutex7.c: New test.	* mutex7n.c: New test.	* mutex7e.c: New test.	* mutex7r.c: New test.	* mutex6.c: Modified to avoid leaving the locked mutex	around on exit.2001-10-25  Ross Johnson  <rpj@setup1.ise.canberra.edu.au>	* condvar2.c: Remove reference to cv->nWaitersUnblocked.	* condvar2_1.c: Likewise; lower NUMTHREADS from 60 to 30.	* condvar3_1.c: Likewise.	* condvar3_2.c: Likewise.	* count1.c: lower NUMTHREADS from 60 to 30.	* inherit1.c: Determine valid priority values and then	assert values returned by POSIX routines are the same.	* priority1.c: Likewise.	* priority2.c: Likewise.	2001-07-12  Ross Johnson  <rpj@setup1.ise.canberra.edu.au>	* barrier5.c: Assert that precisely one thread receives	PTHREAD_BARRIER_SERIAL_THREAD at each barrier.2001-07-09  Ross Johnson  <rpj@setup1.ise.canberra.edu.au>	* barrier3.c: Fixed.	* barrier4.c: Fixed.	* barrier5.c: New; proves that all threads in the group	reaching the barrier wait and then resume together. Repeats the test	using groups of 1 to 16 threads. Each group of threads must negotiate	a large number of barriers (10000).	* spin4.c: Fixed.	* test.h (error_string): Modified the success (0) value.2001-07-07  Ross Johnson  <rpj@setup1.ise.canberra.edu.au>	* spin3.c: Changed test and fixed.	* spin4.c: Fixed.	* barrier3.c: Fixed.	* barrier4.c: Fixed.2001-07-05  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* spin1.c: New; testing spinlocks.	* spin2.c: New; testing spinlocks.	* spin3.c: New; testing spinlocks.	* spin4.c: New; testing spinlocks.	* barrier1.c: New; testing barriers.	* barrier2.c: New; testing barriers.	* barrier3.c: New; testing barriers.	* barrier4.c: New; testing barriers.	* GNUmakefile: Add new tests.	* Makefile: Add new tests.2001-07-01  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* benchtest3.c: New; timing mutexes.	* benchtest4.c: New; time mutexes.	* condvar3_1.c: Fixed bug - Alexander Terekhov	* condvar3_3.c: New test.2001-06-25  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* priority1.c: New test.	* priority2.c: New test.	* inherit1.c: New test.	* benchtest1.c: New; timing mutexes.	* benchtest2.c: New; timing mutexes.	* mutex4.c: Modified to test all mutex types.2001-06-8  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* mutex5.c: Insert inert change to quell compiler warnings.	* condvar3_2.c: Remove unused variable.	2001-06-3  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* condvar2_1.c: New test.	* condvar3_1.c: New test.	* condvar3_2.c: New test.2001-05-30  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* mutex1n.c: New test.	* mutex1e.c: New test.	* mutex1r.c: New test.	* mutex4.c: Now locks and unlocks a mutex.	* mutex5.c: New test.	* mutex6.c: New test.	* mutex6n.c: New test.	* mutex6e.c: New test.	* mutex6r.c: New test.	* Makefile: Added new tests; reorganised.	* GNUmakefile: Likewise.	* rwlock6.c: Fix to properly prove read-while-write locking	and single writer locking.2001-05-29  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* Makefile: Reorganisation.	* GNUmakefile: Likewise.	- Thomas Pfaff <tpfaff@gmx.net>	* exception1.c: Add stdio.h include to define fprintf and stderr	in non-exception C version of main().	* exception2.c: Likewise.	* exception3.c: Likewise.	* Makefile (rwlock7): Add new test.	* GNUmakefile (rwlock7): Add new test.	* rwlock7.c: New test.	* rwlock6.c: Changed to test that writer has priority.	* eyal1.c (main): Unlock each mutex_start lock before destroying	it.2000-12-29  Ross Johnson  <rpj@special.ise.canberra.edu.au>	* GNUmakefile: Add mutex4 test; ensure libpthreadw32.a is	removed for "clean" target.	* Makefile: Add mutex4 test.	* exception3.c: Remove SEH code; automatically pass the test	under SEH (which is an N/A environment).	* mutex4.c: New test.	* eyal1.c (do_work_unit): Add a dummy "if" to force the	optimiser to retain code; reduce thread work loads.	* condvar8.c (main): Add an additional "assert" for debugging;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -