mistachkin
fad3039c51
Enhance ability to debug out-of-memory errors.
...
FossilOrigin-Name: 6a9c4a3ebfb7cc0738ef6634440ccab44a21ff28
2016-02-13 23:43:46 +00:00
drh
17db155fed
Remove an assert in the windows worker-thread logic that can fail in a race
...
condition.
FossilOrigin-Name: d7bfb96092a6b812af194f32b22283a0f6a7da96
2015-09-26 01:28:46 +00:00
drh
2ea31b1286
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.
FossilOrigin-Name: 2d867c054d6d3e1e841ba9ca524e986bc6993ac3
2015-09-25 23:40:01 +00:00
mistachkin
89ea0d379a
Fix compilation on Cygwin when SQLITE_MAX_WORKER_THREADS is greater than zero.
...
FossilOrigin-Name: 2037442c582e51d85967bc911ea4a412eb4da573
2015-01-19 20:05:53 +00:00
mistachkin
b13160f71f
Fix threads-enabled builds on Windows when the amalgamation is not in use.
...
FossilOrigin-Name: 9b92a4d2b6585d5fdf20330e4138081df58960e9
2015-01-07 18:11:29 +00:00
mistachkin
92c2e0da8f
Changes to work around Win32 and MSVCRT APIs that are not present on Windows CE 200x.
...
FossilOrigin-Name: 1418c006e377d7915a50577d4ccb21125b750bae
2014-10-16 18:34:50 +00:00
drh
ab993380a2
Changes to enable compiling using VC6.
...
FossilOrigin-Name: 9ee5686ab3b0bca8cabdf455c75bd9410cdc5378
2014-10-10 18:09:52 +00:00
mistachkin
0479c6ab9b
Disable an assert that is sometimes generated spuriously.
...
FossilOrigin-Name: bd9ee0ea69181526cfc3cadac33a5ec5190112b0
2014-07-29 21:44:13 +00:00
mistachkin
acd57ea0c2
Update return value checking to conform to the beginthreadex() specs.
...
FossilOrigin-Name: 3144a16f91364b455e54e6030714e1c12ab0bdb7
2014-07-29 19:00:43 +00:00
mistachkin
7c2231cf3b
Add a couple more assert statements.
...
FossilOrigin-Name: 4e816db235025c7998c649fddabfd807290a08b9
2014-07-29 18:53:01 +00:00
drh
b92284de11
Fix unreachable branches in the threads.c module.
...
FossilOrigin-Name: 3175e366bbf7579ec9ab27214b0a4e5cd27ea204
2014-07-29 18:46:30 +00:00
mistachkin
b1ac2bc8da
Make the Win32 thread handles are available after the threads exit.
...
FossilOrigin-Name: 565c5af7a75ad5c759ce1a61dab3a61c42819644
2014-07-29 16:37:53 +00:00
drh
19f30dc171
Fix the threads build on Windows when SQLITE_MAX_WORKER_THREADS is greater
...
than 0.
FossilOrigin-Name: f37db3a03d95b508066745613029b7dd1240b31c
2014-07-29 15:18:00 +00:00
drh
2b49327d08
Fix the build on windows.
...
FossilOrigin-Name: 2773a5f9879a106a89a3d0bc3c5bfdcb2fe43c7c
2014-07-29 00:23:08 +00:00
drh
cb6effafec
Improvements to the testability of the threads.c module.
...
FossilOrigin-Name: 386e088868b44b02646e452147838d2e97b093ee
2014-05-20 19:11:50 +00:00
dan
d94d4ee7bd
Add tests so that the "coverage-sorter" test permutation covers all branches in vdbesort.c. Fix a few minor problems in the same file.
...
FossilOrigin-Name: bde28b702dabd02269e333535cc41481351c5efc
2014-05-05 09:08:54 +00:00
drh
3de4df27dd
Improvements to comments. Store some extra information in SqliteThread that
...
is useful for debugging.
FossilOrigin-Name: 9fb5e212089d85cdd3b4787dd69c72e6d84560b6
2014-04-24 12:28:28 +00:00
mistachkin
f7da5555da
Fix typo in a Windows threading support routine.
...
FossilOrigin-Name: 5e3dfa27c71a666e122e3cf64897038ff8424800
2014-04-04 21:40:38 +00:00
dan
b3f56fdb69
Add the SQLITE_MAX_WORKER_THREADS compile time option. And the SQLITE_CONFIG_WORKER_THREADS sqlite3_config() switch.
...
FossilOrigin-Name: 2774710df8cd2bfaca49888c69f1b01c0ddadf9a
2014-03-31 19:57:34 +00:00
drh
3c863634ef
Enable four sorting threads by default in the command-line shell.
...
FossilOrigin-Name: 1cab83577c814feb35b4fb91af0d52a9751d99bc
2014-03-25 14:12:16 +00:00
dan
f87684189d
Add an experimental multi-threaded capability to vdbesorter.c.
...
FossilOrigin-Name: ff0b5c851ba7d04d1836d7c6a3222713e7d8d357
2014-03-17 15:43:05 +00:00
drh
6ddecb753a
Cherry-pick [555fc07]:
...
Changes to the thread routines to disable them when threading is turned
off using sqlite3_config(). Also merge all recent trunk changes.
FossilOrigin-Name: c92b0fe1371e7c20a5fbdf5fa96e30da14c40880
2012-08-21 17:36:44 +00:00
mistachkin
a806475f86
Add an assert() to help verify the return code from the Win32 thread wait function.
...
FossilOrigin-Name: ed3dc7a89f3416622fcd741ae5fba437929d06d6
2012-07-23 06:47:30 +00:00
mistachkin
da0e47109e
Add Win32 support to the internal threads interface. Also, add several asserts and fix a few typos.
...
FossilOrigin-Name: 793195d37109c75eba84f7190c8fe0b8722f76f7
2012-07-21 22:49:08 +00:00
drh
f51446a38c
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.
FossilOrigin-Name: 0e4d977a4a07d6de50acbf022c7dd947998b8d96
2012-07-21 19:40:42 +00:00