| /sqlite-3.40.0/test/ |
| H A D | tt3_stress.c | 136 Threadset threads = {0}; in stress1() local 141 launch_thread(&err, &threads, stress_thread_1, 0); in stress1() 142 launch_thread(&err, &threads, stress_thread_1, 0); in stress1() 144 launch_thread(&err, &threads, stress_thread_2, 0); in stress1() 145 launch_thread(&err, &threads, stress_thread_2, 0); in stress1() 147 launch_thread(&err, &threads, stress_thread_3, 0); in stress1() 148 launch_thread(&err, &threads, stress_thread_3, 0); in stress1() 150 launch_thread(&err, &threads, stress_thread_4, 0); in stress1() 156 join_all_threads(&err, &threads); in stress1() 342 Threadset threads = {0}; in stress2() local [all …]
|
| H A D | tt3_lookaside1.c | 69 Threadset threads = {0}; in lookaside1() local 90 launch_thread(&err, &threads, lookaside1_thread_reader, 0); in lookaside1() 91 launch_thread(&err, &threads, lookaside1_thread_reader, 0); in lookaside1() 92 launch_thread(&err, &threads, lookaside1_thread_reader, 0); in lookaside1() 93 launch_thread(&err, &threads, lookaside1_thread_reader, 0); in lookaside1() 94 launch_thread(&err, &threads, lookaside1_thread_reader, 0); in lookaside1() 95 launch_thread(&err, &threads, lookaside1_thread_writer, 0); in lookaside1() 96 join_all_threads(&err, &threads); in lookaside1()
|
| H A D | tt3_index.c | 52 Threadset threads = {0}; in create_drop_index_1() local 65 launch_thread(&err, &threads, create_drop_index_thread, 0); in create_drop_index_1() 66 launch_thread(&err, &threads, create_drop_index_thread, 0); in create_drop_index_1() 67 launch_thread(&err, &threads, create_drop_index_thread, 0); in create_drop_index_1() 68 launch_thread(&err, &threads, create_drop_index_thread, 0); in create_drop_index_1() 69 launch_thread(&err, &threads, create_drop_index_thread, 0); in create_drop_index_1() 71 join_all_threads(&err, &threads); in create_drop_index_1()
|
| H A D | threadtest3.c | 1061 join_all_threads(&err, &threads); in walthread1() 1107 Threadset threads = {0}; in walthread2() local 1118 join_all_threads(&err, &threads); in walthread2() 1163 Threadset threads = {0}; in walthread3() local 1180 join_all_threads(&err, &threads); in walthread3() 1222 Threadset threads = {0}; in walthread4() local 1234 join_all_threads(&err, &threads); in walthread4() 1255 Threadset threads = {0}; in walthread5() local 1301 join_all_threads(&err, &threads); in walthread5() 1453 Threadset threads = {0}; in dynamic_triggers() local [all …]
|
| H A D | tt3_vacuum.c | 70 Threadset threads = {0}; in vacuum1() local 82 launch_thread(&err, &threads, vacuum1_thread_writer, 0); in vacuum1() 83 launch_thread(&err, &threads, vacuum1_thread_writer, 0); in vacuum1() 84 launch_thread(&err, &threads, vacuum1_thread_writer, 0); in vacuum1() 85 launch_thread(&err, &threads, vacuum1_thread_vacuumer, 0); in vacuum1() 86 join_all_threads(&err, &threads); in vacuum1()
|
| H A D | thread001.test | 26 # 1) All threads use the same database handle. 27 # 2) All threads use their own database handles. 28 # 3) All threads use their own database handles, shared-cache is enabled. 109 # Kick off $::NTHREAD threads: 116 # Wait for all threads to finish, then check they all returned "OK".
|
| H A D | tt3_shared.c | 36 Threadset threads = {0}; in shared1() local 47 launch_thread(&err, &threads, shared_thread1, 0); in shared1() 50 join_all_threads(&err, &threads); in shared1()
|
| H A D | walthread.test | 13 # "PRAGMA journal_mode=WAL" mode with multiple threads. 72 # -thread NAME COUNT SCRIPT Scripts to run in threads (or processes). 73 # -processes BOOLEAN True to use processes instead of threads. 83 set P(threads) [list] 115 lappend P(threads) [list $name $count $prg] 138 foreach T $P(threads) { 189 foreach T $P(threads) { 212 # Once using processes, once using threads. This command takes the same 219 uplevel [lreplace $args 0 0 do_thread_test "$name-threads" -processes 0] 224 # Start 10 threads. Each thread performs both read and write [all …]
|
| H A D | tt3_checkpoint.c | 95 Threadset threads = {0}; in checkpoint_starvation_main() local 109 launch_thread(&err, &threads, checkpoint_starvation_reader, 0); in checkpoint_starvation_main() 125 join_all_threads(&err, &threads); in checkpoint_starvation_main()
|
| H A D | notify2.test | 30 # This test uses $nThread threads. Each thread opens the main database 47 # Number of threads to run simultaneously. 52 # The Tcl script executed by each of the $nThread threads used by this test. 56 # Proc used by threads to execute SQL. 201 # Launch $nThread threads. Then wait for them to finish.
|
| H A D | sort4.test | 27 # Configure the sorter to use 3 background threads. 30 # number of auxiliary worker threads that a single prepared statement 34 db eval {PRAGMA threads=5} 39 db eval {PRAGMA threads}
|
| H A D | server1.test | 59 # Interleave two threads on read access. Then make sure a third 148 # But we cannot insert into table t1 because threads A and B have it locked. 167 # Insert into t1 is successful after finishing the other two threads.
|
| H A D | thread005.test | 77 # mode at one point. The test uses two threads; each has a database connection 201 # There is a race-condition in btree.c that means that if two threads 208 # If the threads run by this test hit this race-condition, the tests 213 # test threads.
|
| H A D | thread2.test | 43 # threads, then verify that they still work. 116 # Also important to halt the worker threads, which are using spin
|
| H A D | thread003.test | 13 # by bombarding it with simultaneous requests from multiple threads. 72 # Then, in separate threads, the databases are randomly queried over and
|
| H A D | sort2.test | 31 catch { db eval {PRAGMA threads=7} }
|
| H A D | thread004.test | 60 # Run two threads. The first thread opens and closes database test.db
|
| H A D | thread002.test | 79 # Wait for all threads to finish, then check they all returned "OK".
|
| H A D | sortfault.test | 39 db eval "PRAGMA threads=$nWorker"
|
| H A D | lock.test | 320 # When one thread is writing, other threads cannot read. Except if the 321 # writing thread is writing to its temporary tables, the other threads
|
| H A D | thread1.test | 41 # Interleave two threads on read access. Then make sure a third
|
| H A D | misuse.test | 66 # threads trying to use the same database at the same time.
|
| /sqlite-3.40.0/doc/ |
| H A D | vdbesort-memory.md | 9 * whether or not worker threads are enabled. 20 a temp file. If worker threads are not enabled, this is the only significant 24 If worker threads are available, then the buffer is passed to a worker thread 28 and used, where nWorker is the number of configured worker threads.
|
| H A D | wal-lock.md | 18 a result of blocking database locks. But it is of course possible for threads
|
| /sqlite-3.40.0/ |
| H A D | Makefile.in | 191 table.lo threads.lo tokenize.lo treeview.lo trigger.lo \ 286 $(TOP)/src/threads.c \ 991 threads.lo: $(TOP)/src/threads.c $(HDR) 992 $(LTCOMPILE) $(TEMP_STORE) -c $(TOP)/src/threads.c
|