Home
last modified time | relevance | path

Searched refs:nThread (Results 1 – 4 of 4) sorted by relevance

/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest5.c279 int nThread; /* Number of threads */ member
302 p->nThread = nMax; in testThreadInit()
314 for(i=0; i<p->nThread; i++){ in testThreadShutdown()
341 assert( iThread>=0 && iThread<p->nThread ); in testThreadLaunch()
385 for(i=0; i<pThreadSet->nThread; i++){ in testThreadWait()
597 int nThread; in do_test_mt1() local
602 nThread = p->nReadwrite + p->nFastReader + p->nSlowReader; in do_test_mt1()
603 pSet = testThreadInit(nThread); in do_test_mt1()
604 for(iThread=0; *pRc==0 && iThread<nThread; iThread++){ in do_test_mt1()
609 for(iThread=0; *pRc==0 && iThread<nThread; iThread++){ in do_test_mt1()
[all …]
H A Dlsmtest_tdb3.c829 int nThread = 1; in test_lsm_config_str() local
884 if( pLsm ) nThread = iVal; in test_lsm_config_str()
904 if( pnThread ) *pnThread = nThread; in test_lsm_config_str()
1005 int nThread = 1; in testLsmOpen() local
1009 rc = test_lsm_config_str(pDb, pDb->db, 0, zCfg, &nThread); in testLsmOpen()
1012 pDb->eMode = nThread; in testLsmOpen()
1014 if( rc==LSM_OK && nThread>1 ){ in testLsmOpen()
1015 testLsmStartWorkers(pDb, nThread, zFilename, zCfg); in testLsmOpen()
/sqlite-3.40.0/test/
H A Dnotify2.test30 # This test uses $nThread threads. Each thread opens the main database
49 set nThread 6
52 # The Tcl script executed by each of the $nThread threads used by this test.
201 # Launch $nThread threads. Then wait for them to finish.
205 for {set ii 0} {$ii < $nThread} {incr ii} {
208 for {set ii 0} {$ii < $nThread} {incr ii} {
H A Dspeedtest1.c2214 int nThread = 0; /* --threads value */ in main() local
2378 nThread = integerValue(argv[++i]); in main()
2489 speedtest1_exec("PRAGMA threads=%d", nThread); in main()