SQLite

All files named ”src/threads.c”
Login

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

History for src/threads.c

2016-02-13
23:43
[4ae07fa022] part of check-in [6a9c4a3ebf] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3ebf] user: mistachkin branch: noMemBkpt, size: 8176)
2015-09-26
01:28
[bbfb744506] part of check-in [d7bfb96092] Remove an assert in the windows worker-thread logic that can fail in a race condition. (check-in: [d7bfb96092] user: drh branch: trunk, size: 8141)
2015-09-25
23:40
[87639bc293] part of check-in [2d867c054d] Fix threads.c so that setting sqlite3FaultSim(200) using the SQLITE_TESTCTRL_FAULT_INSTALL callback causes both unix and windows worker threads to be sequential and deterministic, so that they can be tested reliably. (check-in: [2d867c054d] user: drh branch: trunk, size: 8135)
2015-01-19
20:05
[6bbcc9fe50] part of check-in [2037442c58] Fix compilation on Cygwin when SQLITE_MAX_WORKER_THREADS is greater than zero. (check-in: [2037442c58] user: mistachkin branch: trunk, size: 7562)
2015-01-07
18:11
[2fb3ea4d70] part of check-in [9b92a4d2b6] Fix threads-enabled builds on Windows when the amalgamation is not in use. (check-in: [9b92a4d2b6] user: mistachkin branch: trunk, size: 7649)
2014-10-22
16:25
[2fa8433e5f] part of check-in [1a5a5da331] The _beginthreadex() / _endthreadex() functions should only be used when compiling with MSVC. (check-in: [1a5a5da331] user: mistachkin branch: msvcThreads, size: 7685)
2014-10-16
18:34
[6de09362b6] part of check-in [1418c006e3] Changes to work around Win32 and MSVCRT APIs that are not present on Windows CE 200x. (check-in: [1418c006e3] user: mistachkin branch: trunk, size: 7602)
2014-10-10
18:09
[60c9d400ab] part of check-in [9ee5686ab3] Changes to enable compiling using VC6. (check-in: [9ee5686ab3] user: drh branch: trunk, size: 7562)
2014-07-29
21:44
[22dded4283] part of check-in [bd9ee0ea69] Disable an assert that is sometimes generated spuriously. (check-in: [bd9ee0ea69] user: mistachkin branch: threads, size: 7555)
19:00
[d5812ef982] part of check-in [3144a16f91] Update return value checking to conform to the beginthreadex() specs. (check-in: [3144a16f91] user: mistachkin branch: threads, size: 7311)
18:53
[c0c04b9c8b] part of check-in [4e816db235] Add a couple more assert statements. (check-in: [4e816db235] user: mistachkin branch: threads, size: 7323)
18:46
[b4152ced85] part of check-in [3175e366bb] Fix unreachable branches in the threads.c module. (check-in: [3175e366bb] user: drh branch: threads, size: 7255)
16:37
[dfc566f8b5] part of check-in [565c5af7a7] Make the Win32 thread handles are available after the threads exit. (check-in: [565c5af7a7] user: mistachkin branch: threads, size: 7179)
15:18
[28c72cb781] part of check-in [f37db3a03d] Fix the threads build on Windows when SQLITE_MAX_WORKER_THREADS is greater than 0. (check-in: [f37db3a03d] user: drh branch: threads, size: 7022)
00:23
[afdab9acbd] part of check-in [2773a5f987] Fix the build on windows. (check-in: [2773a5f987] user: drh branch: threads, size: 7024)
2014-05-20
19:11
[3c63f60ce0] part of check-in [386e088868] Improvements to the testability of the threads.c module. (check-in: [386e088868] user: drh branch: threads, size: 6804)
2014-05-05
09:08
[b9daffcb6a] part of check-in [bde28b702d] Add tests so that the "coverage-sorter" test permutation covers all branches in vdbesort.c. Fix a few minor problems in the same file. (check-in: [bde28b702d] user: dan branch: threads, size: 6717)
2014-04-24
12:28
[e35de159f9] part of check-in [9fb5e21208] Improvements to comments. Store some extra information in SqliteThread that is useful for debugging. (check-in: [9fb5e21208] user: drh branch: threads, size: 6563)
2014-04-04
21:40
[b8e7232f2b] part of check-in [5e3dfa27c7] Fix typo in a Windows threading support routine. (check-in: [5e3dfa27c7] user: mistachkin branch: threads, size: 6260)
2014-03-31
19:57
[6992f70cab] part of check-in [2774710df8] Add the SQLITE_MAX_WORKER_THREADS compile time option. And the SQLITE_CONFIG_WORKER_THREADS sqlite3_config() switch. (check-in: [2774710df8] user: dan branch: threads, size: 6260)
2014-03-25
14:12
[b96d62f88c] part of check-in [1cab83577c] Enable four sorting threads by default in the command-line shell. (check-in: [1cab83577c] user: drh branch: threads, size: 6186)
2012-08-22
15:16
[cde9d885fd] part of check-in [acdc7d1270] Do not let the multi-core sorter use lookaside memory, which is not thread-safe. (check-in: [acdc7d1270] user: drh branch: threads-sort-ex1, size: 6140)
2012-08-20
12:36
[2b918d1f4f] part of check-in [555fc07efd] Changes to the thread routines to disable them when threading is turned off using sqlite3_config(). (check-in: [555fc07efd] user: drh branch: threads-sort-ex1, size: 6150)
2012-07-23
06:47
[cde5bd24ab] part of check-in [ed3dc7a89f] Add an assert() to help verify the return code from the Win32 thread wait function. (check-in: [ed3dc7a89f] user: mistachkin branch: threads, size: 5789)
2012-07-21
22:49
[82ea90092f] part of check-in [793195d371] Add Win32 support to the internal threads interface. Also, add several asserts and fix a few typos. (check-in: [793195d371] user: mistachkin branch: threads, size: 5753)
19:40
Added: [df23fc534a] part of check-in [0e4d977a4a] Add an internal interface that allows the code to take advantage of multiple cores by pushing subcomputations off into separate threads. The interface is not currently used. (check-in: [0e4d977a4a] user: drh branch: threads, size: 3728)