/ History for src/mutex_w32.c
Login

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

History for src/mutex_w32.c

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