Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 25 of 34) sorted by relevance

12

/sqlite-3.40.0/test/
H A Dtt3_stress.c136 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 Dtt3_lookaside1.c69 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 Dtt3_index.c52 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 Dthreadtest3.c1061 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 Dtt3_vacuum.c70 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 Dthread001.test26 # 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 Dtt3_shared.c36 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 Dwalthread.test13 # "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 Dtt3_checkpoint.c95 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 Dnotify2.test30 # 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 Dsort4.test27 # 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 Dserver1.test59 # 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 Dthread005.test77 # 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 Dthread2.test43 # threads, then verify that they still work.
116 # Also important to halt the worker threads, which are using spin
H A Dthread003.test13 # by bombarding it with simultaneous requests from multiple threads.
72 # Then, in separate threads, the databases are randomly queried over and
H A Dsort2.test31 catch { db eval {PRAGMA threads=7} }
H A Dthread004.test60 # Run two threads. The first thread opens and closes database test.db
H A Dthread002.test79 # Wait for all threads to finish, then check they all returned "OK".
H A Dsortfault.test39 db eval "PRAGMA threads=$nWorker"
H A Dlock.test320 # 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 Dthread1.test41 # Interleave two threads on read access. Then make sure a third
H A Dmisuse.test66 # threads trying to use the same database at the same time.
/sqlite-3.40.0/doc/
H A Dvdbesort-memory.md9 * 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 Dwal-lock.md18 a result of blocking database locks. But it is of course possible for threads
/sqlite-3.40.0/
H A DMakefile.in191 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

12