/ File History
Login

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

History of src/mutex_w32.c

2019-02-08
20:55
Use a fast compiler-provided memory barrier exclusively, if such a memory barrier is available. file: [761007c4] check-in: [df66fec9] user: drh branch: faster-memory-barrier, size: 11914
2018-02-18
00:54
Port mutex enhancments from check-in [f53b8a573b] to the Win32 implementation. file: [7670d770] check-in: [74bb7225] user: mistachkin branch: trunk, size: 11826
2017-02-15
18:30
Minor enhancement to mutex tracing on Win32. file: [a898fa96] check-in: [830b9235] user: mistachkin branch: trunk, size: 11732
2017-02-14
23:58
Experimental enhancements to mutex debugging. file: [285c1f2c] check-in: [80481754] user: mistachkin branch: mutexDbg2, size: 12064
2017-02-13
11:35
Fix typos in using the MSVC_VERSION macro. file: [3631e57d] check-in: [25ebadd0] user: drh branch: branch-3.17, size: 11699
2017-02-09
17:12
Cleanup the usage of the SQLITE_DISABLE_INTRINSIC compile-time option. Remove the SQLITE_RUNTIME_BYTEORDER compile-time option. Use -DSQLITE_BYTEORDER=0 instead. Fix a bug in R-Tree that occurs when compiling on a known little-endian machine without the use of intrinsic byteswapping functions. file: [00bbf37d] check-in: [798fb9d7] user: drh branch: trunk, size: 11699
2016-10-17
18:59
Enhancments to Win32 mutex debugging. file: [02e4d0d5] check-in: [2fb9a5dd] user: mistachkin branch: mutexDbg, size: 12133
2015-10-15
21:12
Merge updates from trunk. file: [c3a5049b] check-in: [a447cf90] user: mistachkin branch: mutexInitSimpleCmpSwap, size: 12371
2015-10-06
01:44
Adjustments to sqlite3MemoryBarrier() when compiling with MSVC and/or WinCE. file: [5e6fe1c2] check-in: [3168326e] user: mistachkin branch: trunk, size: 11762
2015-09-26
03:23
Expand the header comment to clarify the purpose for the sqlite3MemoryBarrier() function. file: [b483d3e5] check-in: [b89495ae] user: drh branch: trunk, size: 11628
2015-09-12
01:17
Fix typo in the Win32 implementation of sqlite3CompareAndSwap. file: [928c8894] check-in: [31a26a1d] user: mistachkin branch: mutexInitCmpSwap, size: 12118
2015-09-11
05:06
Enhance mutex initialization to prevent possible race conditions between sqlite3_initialize() and sqlite3_config(). Also, re-check sqlite3GlobalConfig.isInit after the mutex subsystem has been initialized. file: [a784f7c2] check-in: [f6a8f577] user: mistachkin branch: mutexInitCmpSwap, size: 12118
2015-09-06
10:31
Improved memory barrier that should work with MinGW on older versions of Windows. file: [2e025e66] check-in: [47dc24bd] user: drh branch: trunk, size: 11509
02:51
Add a memory barrier to the mutex initialization logic, try to work around an issue reported by WebKit. file: [0f323eb5] check-in: [11a9a786] user: drh branch: trunk, size: 11388
2015-07-03
21:38
Add static mutexes for use by the built-in / third-party VFSs and use the built-in VFS mutex where appropriate. file: [b601f9e3] check-in: [b202e2a1] user: mistachkin branch: trunk, size: 11249
2015-02-25
14:25
Make sure the sqlite3_mutex.id field is initialized in the Win32 mutex implementation, even when SQLITE_DEBUG is turned off. file: [61660ada] check-in: [6d132e7a] user: drh branch: trunk, size: 11060
2015-02-13
16:36
Improvements to SQLITE_ENABLE_API_ARMOR. file: [a6f0b840] check-in: [823ad40c] user: drh branch: trunk, size: 11060
2014-12-20
21:14
Minor fixes and enhancements to the SQLITE_ENABLE_API_ARMOR functionality. file: [df48fe07] check-in: [cb3e4219] user: mistachkin branch: trunk, size: 11165
2014-08-14
18:31
Fix compiler warnings on WinCE. file: [06bfff9a] check-in: [cc910b8e] user: mistachkin branch: winCeWarn, size: 10998
2014-08-12
13:32
Remove support for Win9x. file: [c4955b57] check-in: [169fc47e] user: drh branch: drop-win9x-support, size: 10094
2014-07-31
18:54
Optimizations to the OS sub-type checking in the Win32 VFS. file: [c50939b7] check-in: [1e5489fa] user: mistachkin branch: trunk, size: 10985
2014-07-30
23:11
Re-integrate the recent changes from the 'winMutex' branch back into the Win32 mutex subsystem. file: [08890085] check-in: [5360ecb0] user: mistachkin branch: trunk, size: 10749
2014-07-29
05:49
Enhancements and updates to the Win32 mutex subsystem. file: [45020ed7] check-in: [18984c32] user: mistachkin branch: winMutex, size: 10425
00:42
Add some asserts to the Win32 mutex subsystem. file: [92e8ead4] check-in: [e8f2dc5f] user: mistachkin branch: threads, size: 11006
2014-05-16
14:27
Merge all recent changes from trunk, and especially the new sqlite3FaultSim() interface. file: [13a6b8a3] check-in: [43fcbd91] user: drh branch: threads, size: 10878
2014-05-12
15:37
In mutex_w32.c, make inclusion of the Windows header file dependent on SQLITE_OS_WIN, not SQLITE_MUTEX_W32. file: [9bcab6e6] check-in: [93ffbcc0] user: mistachkin branch: trunk, size: 10690
2014-05-09
15:00
Merge the latest trunk changes into the threads branch. file: [aedd6752] check-in: [9ac8f1e7] user: dan branch: threads, size: 10853
11:15
Add new static mutex SQLITE_MUTEX_STATIC_APP3. file: [6509b340] check-in: [ee0ab09c] user: dan branch: threads, size: 10778
2014-05-08
22:01
Fix static variable declaration issue on Windows. file: [c4726d3b] check-in: [a41d2969] user: mistachkin branch: threads, size: 10715
2014-05-03
12:00
Add two new static mutexes, SQLITE_MUTEX_STATIC_APP1 and _APP2, for use by the application program. First intended use is in test programs for the memory allocation logic where one does not want to allocating a _FAST or _RECURSIVE mutex since that would involve using the memory allocation system under test. file: [f648cebb] check-in: [13686035] user: drh branch: threads, size: 10716
2013-11-25
09:36
Initial work on isolating usage of the Windows header file. file: [ab08c0fc] check-in: [0d42c6b8] user: mistachkin branch: winHdr, size: 10665
2013-08-28
02:37
Make names of private functions in the Win32 VFS consistent. Fix comment typo in Win32 mutex implementation. file: [6108c88e] check-in: [c3b82c5b] user: mistachkin branch: mmapDisabled, size: 10590
01:54
Fix several harmless compiler warnings. Fix a couple compiler issues with the shell. file: [db4e14c3] check-in: [8917e9f9] user: mistachkin branch: mmapDisabled, size: 10571
2012-06-18
17:15
Allow the SQLITE_API macro to apply to the sqlite3_win32_sleep function. file: [32a9b384] check-in: [21266c68] user: mistachkin branch: compiler-compat, size: 10571
08:00
Fix a few compilation issues that can occur with certain compilers (e.g. GCC 2.95.3, MSVC). file: [aedeaae3] check-in: [f970a3de] user: mistachkin branch: compiler-compat, size: 10583
2012-06-06
23:25
Fix an #if that is applicable to WinRT, even thought it is currently disabled by another #if. file: [db897027] check-in: [baa8b783] user: mistachkin branch: trunk, size: 10578
2012-03-13
03:35
Defer creation of the sleep event object until it is needed. Added sqlite3_win32_write_debug and sqlite3_win32_sleep APIs to assist in portability to WinRT. file: [1170f64d] check-in: [7af88ad3] user: mistachkin branch: winrt, size: 10559
01:16
More changes required to compile for WinRT using VS 11 beta. Also, replace more APIs with their WinRT alternatives. file: [be6dc2be] check-in: [6b997d9c] user: mistachkin branch: winrt, size: 10534
2012-03-01
20:05
Add recognition of the SQLITE_OS_WINRT compile-time option. Use InitializeCriticalSectionEx() under winRT. file: [ddd2a783] check-in: [8b7ca8a0] user: drh branch: winrt, size: 10389
2011-03-15
02:55
Fix cut-and-paste typo in debugging print statement in winMutexTry(). file: [5e54f3ba] check-in: [def98fd2] user: shaneh branch: trunk, size: 10281
2011-01-26
07:25
Update mutex1.test so that it works with the memsubsys1 permutation (pagecache memory). Change a few instances of SQLITE_MUTEX_STATIC_LRU2 in comments and test code to STATIC_PMEM. file: [3ade5ae7] check-in: [456bd5c6] user: dan branch: trunk, size: 10283
2010-08-10
07:12
Changes to debugging code in mutex_unix.c and mutex_w32.c to make an assert() statement threadsafe. file: [b7ed3366] check-in: [e82e32bd] user: dan branch: trunk, size: 10283
2010-06-02
05:53
Add some 'const' markers to static data that is really constant. file: [1fe0e735] check-in: [e7073e23] user: dan branch: trunk, size: 10197
2010-05-13
20:19
Make debugging elements of the sqlite3_mutex object volatile and make them only appear when compiling with SQLITE_DEBUG. Ticket [51914f6acd2cb462]. file: [fb1cf87c] check-in: [e823c60c] user: drh branch: trunk, size: 10185
2010-03-09
14:41
Minor changes to silence compiler warnings on various MSVC builds. file: [4cc201c1] check-in: [115c978b] user: shaneh branch: trunk, size: 10118
2010-02-13
02:31
Merged tracing and initialization changes from mutex_unix.c into mutex_w32.c. file: [90c3bd10] check-in: [942aa1f6] user: shaneh branch: trunk, size: 10075
2010-02-12
22:43
Added experimental mutex implementation using interlocked ops and spin locks. file: [b07acd67] check-in: [f3676b24] user: shaneh branch: experimental, size: 11621
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [9ec75bce] check-in: [f6c045f6] user: drh branch: trunk, size: 8998
2009-08-17
15:31
More documentation and comment updates for sqlite3_initialize/shutdown interface changes to handle failures. file: [b2c1481e] check-in: [32509bc7] user: shane branch: trunk, size: 9060
13:42
Enhanced documentation and minor code tweaks in preparation for hardening the sqlite3_initialize/shutdown interfaces against initialization failures. file: [a54086ca] check-in: [98c49e61] user: drh branch: trunk, size: 9014
2009-08-10
03:23
Fixed "Interlocked" logic error that prevented the "static" mutexes from being released when sqlite3_shutdown() is called. Ticket #4011. (CVS 6964) file: [cee867e1] check-in: [04cafb7e] user: shane branch: trunk, size: 9107
2009-06-01
17:10
Added assert to verify winMutex system is inited before "static" mutexes are used. (CVS 6701) file: [cd611ebe] check-in: [b126013b] user: shane branch: trunk, size: 9012
17:06
Ensure that "static" mutexes are deleted on shutdown so that they are not leaked across restarts. (CVS 6700) file: [3dd7c4fd] check-in: [4e75897e] user: shane branch: trunk, size: 8976
2009-01-30
16:09
Made code to remove unused parameter warning part of the conditional. Ticket #3610. (CVS 6219) file: [f4b6a4a4] check-in: [c5dca114] user: shane branch: trunk, size: 8284
05:40
Minor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610. (CVS 6215) file: [bd473df1] check-in: [c74c78e4] user: shane branch: trunk, size: 8278
2008-12-08
18:19
The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) file: [ee9cf003] check-in: [73c7302c] user: drh branch: trunk, size: 8253
2008-11-10
20:01
#ifdef out unused static function mutexIsNT(). Ticket #3481. (CVS 5875) file: [017b522f] check-in: [23918680] user: shane branch: trunk, size: 8236
2008-06-26
10:41
Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311) file: [f0d21ff1] check-in: [cdd4cf4c] user: danielk1977 branch: trunk, size: 7935
2008-06-19
16:07
Fix some minor compile problems. (CVS 5248) file: [7aa9ad79] check-in: [7d38da3e] user: drh branch: trunk, size: 7913
08:51
Shuffle some of the mutex related documentation in sqlite.h.in to match the new sqlite3_mutex_methods based API. (CVS 5244) file: [36841fbd] check-in: [9cd7f866] user: danielk1977 branch: trunk, size: 7867
2008-06-17
17:21
Change the mutex interface to be pluggable. This is an incremental checkin, there are still changes to come. (CVS 5227) file: [e03baa36] check-in: [59728363] user: danielk1977 branch: trunk, size: 7867
2008-06-13
18:24
Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) file: [36fbcf9f] check-in: [a03c5af1] user: drh branch: trunk, size: 7667
2008-03-26
18:34
Changes to delay freeing buffers associated with vdbe memory cells until either sqlite3_finalize() or sqlite3_release_memory() is called. (CVS 4922) file: [13369809] check-in: [8c2f6952] user: danielk1977 branch: trunk, size: 7474
2007-10-05
15:08
Do not attempt to use TryEnterCriticalSection() under win32. It causes too many compiler problems. Ticket #2685. (CVS 4471) file: [6e197765] check-in: [f795431c] user: drh branch: trunk, size: 7466
2007-09-05
14:30
Restore the sqlite3_mutex_try() optimization on winNT systems. (CVS 4402) file: [d2c56fb8] check-in: [3aace2fa] user: drh branch: trunk, size: 6995
2007-09-04
22:31
Do not use the TryEnterCriticalSection API on windows since it is unavailable on some platforms. (CVS 4399) file: [2812771e] check-in: [bf3d67d1] user: drh branch: trunk, size: 6358
2007-08-30
14:10
Bug fixes in the mutex header file. Tickets #2599 and #2600. (CVS 4335) file: [54beb16a] check-in: [4bdfe141] user: drh branch: trunk, size: 6115
2007-08-28
16:34
Break up the mutex implementation into separate source files, one each for unix, w32, and os2. (CVS 4312) file: [8716478c] check-in: [fc5cd71a] user: drh branch: trunk, size: 6117 Added