SQLite

All files named ”src/test_thread.c”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for src/test_thread.c

2025-03-06
13:38
[3edb4a5b5a] part of check-in [205979813c] Cygwin-centric fixes from Jan Nijtmans. (check-in: [205979813c] user: stephan branch: cygwin-fixes, size: 19657)
2024-07-30
15:49
[d7a8bcea74] part of check-in [6e5bb48a74] First attempt at getting the build to work with Tcl 9.0. (check-in: [6e5bb48a74] user: drh branch: tcl9, size: 19642)
2023-02-03
11:32
[7ddcf0c8b7] part of check-in [b2faf9289f] Avoid using Tcl command [clock] in testrunner.tcl. (check-in: [b2faf9289f] user: dan branch: testrunner, size: 19691)
2020-02-07
01:12
[269ea9e1fa] part of check-in [5a877221ce] Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: [5a877221ce] user: drh branch: trunk, size: 18880)
2016-08-01
14:35
[911d15fb14] part of check-in [b6ea2f21f6] Avoid making unnecessary changes to the signatures of the sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces. (check-in: [b6ea2f21f6] user: drh branch: trunk, size: 19312)
2016-07-28
22:53
[89f0e47dac] part of check-in [b8218129bc] More compiler warning fixes for GCC related to the auto-extension mechanism. (check-in: [b8218129bc] user: mistachkin branch: callbackConv, size: 19317)
22:23
[a122592c2b] part of check-in [3ea567c4b0] Make the extension auto-loading mechanism work with the __stdcall calling convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. (check-in: [3ea567c4b0] user: mistachkin branch: callbackConv, size: 19301)
17:11
[c7c40494b7] part of check-in [f2f1323cc4] Make sure the SQLITE_TCLAPI macro is always defined and use it for all callback functions that must interface with the Tcl C API. (check-in: [f2f1323cc4] user: mistachkin branch: callbackConv, size: 19272)
14:37
[30ae6818d2] part of check-in [e8be3dfeab] Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. (check-in: [e8be3dfeab] user: mistachkin branch: callbackConv, size: 19146)
2015-01-19
00:35
[af391ec03d] part of check-in [1032191099] Eliminate all use of sprintf(), strcpy() and strcat() from test logic because OpenBSD hates those functions. (check-in: [1032191099] user: drh branch: trunk, size: 19071)
2013-04-29
03:09
[1e133a40b5] part of check-in [05ba5e23fc] More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. (check-in: [05ba5e23fc] user: mistachkin branch: winOsTrace, size: 19048)
2012-01-30
18:00
[e286f21735] part of check-in [c4cd38a0c7] Fix compiler warnings in the TCL test harness. (check-in: [c4cd38a0c7] user: drh branch: trunk, size: 19002)
2011-08-30
19:52
[35022393dd] part of check-in [20ddfb4780] Enable the thread test logic to work with the SQLITE_HAS_CODEC compile-time option. (check-in: [20ddfb4780] user: drh branch: trunk, size: 19005)
2011-08-25
18:54
[dc77f920d2] part of check-in [16f83fec77] Fix harmless compiler warnings in test code. No changes to the core. (check-in: [16f83fec77] user: drh branch: trunk, size: 18586)
2011-06-20
21:47
[fe9a7803fc] part of check-in [b9cbab739a] Fix more documentation typos. (check-in: [b9cbab739a] user: drh branch: trunk, size: 18572)
2011-04-04
21:48
[361ae0a0f1] part of check-in [78b6eee200] Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source; (check-in: [78b6eee200] user: shaneh branch: trunk, size: 18577)
2010-07-06
10:55
[bedd05cad6] part of check-in [b3399b4078] Before calling Tcl_ExitThread() in a multi-threaded test, call Tcl_DoOneEvent() as many times as necessary to handle any queued events. (check-in: [b3399b4078] user: dan branch: trunk, size: 18613)
2010-07-05
12:54
[9fe4226a4b] part of check-in [684eae6623] Call Tcl_ExitThread() from within threads created using Tcl_CreateThread(). Not doing so causes notifier related errors on OSX. (check-in: [684eae6623] user: dan branch: trunk, size: 18556)
2010-04-28
17:48
[aa9919c885] part of check-in [25f85f6872] Change walthread.test so that tests can be run with either multiple threads or multiple processes. (check-in: [25f85f6872] user: dan branch: wal, size: 18535)
2009-11-10
01:30
[00fed80690] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 18479)
2009-03-27
12:32
[b8a1ab7ca1] part of check-in [a43ecc9cb9] Fix some compiler warnings in test code. (CVS 6392) (check-in: [a43ecc9cb9] user: drh branch: trunk, size: 18541)
2009-03-24
18:42
[7b409dc9f8] part of check-in [940d72d2ba] Change OS_UNIX to SQLITE_OS_UNIX in test_thread.c. Modify notify2.test to print out its timings in addition to reporting success or failure. (CVS 6382) (check-in: [940d72d2ba] user: drh branch: trunk, size: 18414)
2009-03-23
17:11
[1c7a895dbc] part of check-in [92ec597512] Fix an obscure race condition that can occur when multiple threads, shared cache and DDL statements are combined. Enhance notify2.test to test this scenario. (CVS 6373) (check-in: [92ec597512] user: danielk1977 branch: trunk, size: 18401)
2009-03-19
07:58
[870a862d9c] part of check-in [e8be1af922] Change sqlite3_step() to return SQLITE_LOCKED if a statement cannot be re-compiled due to locks on the shared-cache schema. Also add a blocking wrapper of sqlite3_prepare_v2() to the test code. (CVS 6359) (check-in: [e8be1af922] user: danielk1977 branch: trunk, size: 17984)
2009-03-16
13:19
[6805d05c3b] part of check-in [b649a6cc5b] Add the sqlite3_unlock_notify() API. (CVS 6348) (check-in: [b649a6cc5b] user: danielk1977 branch: trunk, size: 14999)
2009-02-03
19:55
[adb9175c46] part of check-in [e9475abaf8] Fixed postToParent() return type (Tcl_ThreadCreateType) in test_thread.c to compile with MSVC. Removed a few compiler warnings. Test harness change only. (CVS 6245) (check-in: [e9475abaf8] user: shane branch: trunk, size: 9859)
2009-01-19
17:40
[2575a16370] part of check-in [6242f113eb] Make sure mutexes are fully enabled for thread001.test. Take steps to ensure that the thread tests run during regression testing. (CVS 6193) (check-in: [6242f113eb] user: drh branch: trunk, size: 9415)
2008-08-28
13:55
[d74fc445e0] part of check-in [b606263d08] Avoid using (clock seconds) in thread003.test. It is not available if testfixture is linked to tcl 8.5. (CVS 5634) (check-in: [b606263d08] user: danielk1977 branch: trunk, size: 9366)
13:15
[ecb4b86f5f] part of check-in [677ac144c8] Use ckfree() instead of sqlite3_free() to free an allocation made by ckalloc() in test_thread.c (test code only). (CVS 5633) (check-in: [677ac144c8] user: danielk1977 branch: trunk, size: 8631)
2007-12-13
21:54
[e297dd41db] part of check-in [4e91a267fe] Change all instances of "it's" in comments to either "its" or "it is", as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) (check-in: [4e91a267fe] user: drh branch: trunk, size: 8629)
18:29
[8483046213] part of check-in [6129fce873] Fix the location of a #include in test_thread.c. ticket #2826. (CVS 4627) (check-in: [6129fce873] user: drh branch: trunk, size: 8630)
2007-09-10
10:53
[a98d69cae8] part of check-in [c758cc1d88] Add another test file to help verify thread-safety. (CVS 4419) (check-in: [c758cc1d88] user: danielk1977 branch: trunk, size: 8639)
06:23
[cbd7ba2cb2] part of check-in [6ee2b8ffc4] Upgrade thread001.test to test with multiple database handles. (CVS 4417) (check-in: [6ee2b8ffc4] user: danielk1977 branch: trunk, size: 8132)
2007-09-07
18:40
[35d2b6c83b] part of check-in [9b7bab7fc2] Modify test_thread.c to use tcl apis for creating threads. (CVS 4415) (check-in: [9b7bab7fc2] user: danielk1977 branch: trunk, size: 7296)
11:29
Added: [489c79089b] part of check-in [753908e841] Add the beginning of the thread-safety tests. There are more to come. (CVS 4413) (check-in: [753908e841] user: danielk1977 branch: trunk, size: 6512)