aboutsummaryrefslogtreecommitdiff
path: root/src/mutex_w32.c
Commit message (Collapse)AuthorAge
* Correct conditional compilation issue seen with MSVC in the Win32 mutex ↵mistachkin2023-11-18
| | | | | subsystem. FossilOrigin-Name: 6f8f4bfe607f1405d313bb88a33490621002f63e8c02c980f4c083630ad3a6d2
* Add a C-source spell-checking facility. make misspell (on Nix)larrybr2023-06-07
| | | FossilOrigin-Name: 26c1bb4bd9e9f56613c3aa87407a7f562fd4ebde5bfd6dece02078001d9a45f8
* Refactoring various names. No changes in the resulting machine code.drh2020-06-19
| | | FossilOrigin-Name: 7bb08b1bfcf184e4b59c8c9028926a0052612ff6a6731914ccdb8dee07ea4a98
* Port mutex enhancments from check-in [f53b8a573b] to the Win32 implementation.mistachkin2018-02-18
| | | FossilOrigin-Name: 74bb7225d132c80fd5758bb8c120448e3b3e951d0ca2fa0c57cac0a9c6c27045
* Minor enhancement to mutex tracing on Win32.mistachkin2017-02-15
| | | FossilOrigin-Name: 830b9235673be55f0c932fb157de03725e648c25
* Fix typos in using the MSVC_VERSION macro.drh2017-02-13
| | | FossilOrigin-Name: f3b65926b1f439adb95e3bbce8e58785b8cf8427
* Cleanup the usage of the SQLITE_DISABLE_INTRINSIC compile-time option.drh2017-02-09
| | | | | | | | 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. FossilOrigin-Name: 798fb9d70d2e5f95e64237b04d6692360133381a
* Adjustments to sqlite3MemoryBarrier() when compiling with MSVC and/or WinCE.mistachkin2015-10-06
| | | FossilOrigin-Name: 3168326ebfa1c961d8fc6435453b02be23d910cc
* Expand the header comment to clarify the purpose for thedrh2015-09-26
| | | | | sqlite3MemoryBarrier() function. FossilOrigin-Name: b89495ae09aa0e9652475b2ba1943dfd87c73e07
* Improved memory barrier that should work with MinGW on older versions ofdrh2015-09-06
| | | | | Windows. FossilOrigin-Name: 47dc24bd1e8f76eb17ba53a883b8984b3e1b2934
* Add a memory barrier to the mutex initialization logic, try to work arounddrh2015-09-06
| | | | | an issue reported by WebKit. FossilOrigin-Name: 11a9a786ec06403addb47f5c6fb142b382fae522
* Add static mutexes for use by the built-in / third-party VFSs and use the ↵mistachkin2015-07-03
| | | | | built-in VFS mutex where appropriate. FossilOrigin-Name: b202e2a1d73d104d795d2252b1c6f61d65bfb295
* Make sure the sqlite3_mutex.id field is initialized in the Win32drh2015-02-25
| | | | | mutex implementation, even when SQLITE_DEBUG is turned off. FossilOrigin-Name: 6d132e7a224ee68b5cefe9222944aac5760ffc20
* Improvements to SQLITE_ENABLE_API_ARMOR.drh2015-02-13
| | | FossilOrigin-Name: 823ad40ccb5b51aaa0d5a48da63b465df9d0649a
* Minor fixes and enhancements to the SQLITE_ENABLE_API_ARMOR functionality.mistachkin2014-12-20
| | | FossilOrigin-Name: cb3e4219ac9560d2773b85453aafda54b7c9346f
* Fix compiler warnings on WinCE.mistachkin2014-08-14
| | | FossilOrigin-Name: cc910b8e0c45e7387024f3a729003e2fef08b198
* Optimizations to the OS sub-type checking in the Win32 VFS.mistachkin2014-07-31
| | | FossilOrigin-Name: 1e5489faff093d6a8e538061e45532f9050e9459
* Re-integrate the recent changes from the 'winMutex' branch back into the ↵mistachkin2014-07-30
| | | | | Win32 mutex subsystem. FossilOrigin-Name: 5360ecb0b8891d0c27f3f02d81b6c7b548361a10
* Add three new static mutexes for use by the application. This is a partialdrh2014-07-30
| | | | | import of changes from the threads branch. FossilOrigin-Name: 3aad01960f92c5e77dba64ac1a6c6b063378fb97
* Enhancements and updates to the Win32 mutex subsystem.mistachkin2014-07-29
| | | FossilOrigin-Name: 18984c321049a759f6619cfa17fb3f4e7b3e08ea
* In mutex_w32.c, make inclusion of the Windows header file dependent on ↵mistachkin2014-05-12
| | | | | SQLITE_OS_WIN, not SQLITE_MUTEX_W32. FossilOrigin-Name: 93ffbcc0b1d207950851dbb16a8c101afb949d5f
* Initial work on isolating usage of the Windows header file.mistachkin2013-11-25
| | | FossilOrigin-Name: 0d42c6b830ee50f45539d73e3948ed3bc50a11d1
* Make names of private functions in the Win32 VFS consistent. Fix comment ↵mistachkin2013-08-28
| | | | | typo in Win32 mutex implementation. FossilOrigin-Name: c3b82c5bf97cfb35544c5b1fbcdf7b9c4827d1cf
* Fix several harmless compiler warnings. Fix a couple compiler issues with ↵mistachkin2013-08-28
| | | | | the shell. FossilOrigin-Name: 8917e9f9a0802cbfb6f33e2ab1c2f98e4df5babd
* Allow the SQLITE_API macro to apply to the sqlite3_win32_sleep function.mistachkin2012-06-18
| | | FossilOrigin-Name: 21266c68afb067ff40062df1e8b383dfd247c17b
* Fix a few compilation issues that can occur with certain compilers (e.g. GCC ↵mistachkin2012-06-18
| | | | | 2.95.3, MSVC). FossilOrigin-Name: f970a3de61fe2ebaf1778c4a3383cfdc52299162
* Fix an #if that is applicable to WinRT, even thought it is currently ↵mistachkin2012-06-06
| | | | | disabled by another #if. FossilOrigin-Name: baa8b7830779d5797e210a2e057181413412e152
* Defer creation of the sleep event object until it is needed. Added ↵mistachkin2012-03-13
| | | | | sqlite3_win32_write_debug and sqlite3_win32_sleep APIs to assist in portability to WinRT. FossilOrigin-Name: 7af88ad306612dd316827c506dbf8df7477b2ec1
* More changes required to compile for WinRT using VS 11 beta. Also, replace ↵mistachkin2012-03-13
| | | | | more APIs with their WinRT alternatives. FossilOrigin-Name: 6b997d9c32076c480ff4f101ff93bae3f443e252
* Add recognition of the SQLITE_OS_WINRT compile-time option. drh2012-03-01
| | | | | Use InitializeCriticalSectionEx() under winRT. FossilOrigin-Name: 8b7ca8a09f7b69db1fe766616cba0307e681a6f3
* Fix cut-and-paste typo in debugging print statement in winMutexTry().shaneh2011-03-15
| | | FossilOrigin-Name: def98fd23e42bda13547e38ab13fed0e6554ce99
* Update mutex1.test so that it works with the memsubsys1 permutation ↵dan2011-01-26
| | | | | (pagecache memory). Change a few instances of SQLITE_MUTEX_STATIC_LRU2 in comments and test code to STATIC_PMEM. FossilOrigin-Name: 456bd5c63b41bae8e389df81e318b830aa314000
* Changes to debugging code in mutex_unix.c and mutex_w32.c to make an ↵dan2010-08-10
| | | | | assert() statement threadsafe. FossilOrigin-Name: e82e32bd431ccacd276df8241592eb5519d87122
* Add some 'const' markers to static data that is really constant.dan2010-06-02
| | | FossilOrigin-Name: e7073e23b80e7cae0c76d42f014ee9b2d40a8f2f
* Make debugging elements of the sqlite3_mutex object volatile and make themdrh2010-05-13
| | | | | only appear when compiling with SQLITE_DEBUG. Ticket [51914f6acd2cb462]. FossilOrigin-Name: e823c60ca4c3d515b8b12dada4631fe8f44975e9
* Minor changes to silence compiler warnings on various MSVC builds.shaneh2010-03-09
| | | FossilOrigin-Name: 115c978b6bbc110119a1b2f178cc30b33aaa27ef
* Merged tracing and initialization changes from mutex_unix.c.shaneh2010-02-13
| | | FossilOrigin-Name: 942aa1f6a91655356cc32a8185cb447331d405dc
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* More documentation and comment updates for sqlite3_initialize/shutdown ↵shane2009-08-17
| | | | | interface changes to handle failures. FossilOrigin-Name: 32509bc7339cd6a46cea4c243e3418546860cb2d
* Enhanced documentation and minor code tweaks in preparation for hardeningdrh2009-08-17
| | | | | the sqlite3_initialize/shutdown interfaces against initialization failures. FossilOrigin-Name: 98c49e6135ae6268a80de88f8b0284f88ef32e1d
* Fixed "Interlocked" logic error that prevented the "static" mutexes from ↵shane2009-08-10
| | | | | being released when sqlite3_shutdown() is called. Ticket #4011. (CVS 6964) FossilOrigin-Name: 04cafb7ee3b67a68c0604d7f1143feaec44be610
* Added assert to verify winMutex system is inited before "static" mutexes are ↵shane2009-06-01
| | | | | used. (CVS 6701) FossilOrigin-Name: b126013b5a1d6526810139d19acbec7fd0ab8168
* Ensure that "static" mutexes are deleted on shutdown so that they are not ↵shane2009-06-01
| | | | | leaked across restarts. (CVS 6700) FossilOrigin-Name: 4e75897ee177bd24145f9dbfccd41a03c108440f
* Made code to remove unused parameter warning part of the conditional. ↵shane2009-01-30
| | | | | Ticket #3610. (CVS 6219) FossilOrigin-Name: c5dca1146de72071ed2e5fdf6890f41682272587
* Minor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610. ↵shane2009-01-30
| | | | | (CVS 6215) FossilOrigin-Name: c74c78e4eb7f6d674b7564b33387db996fbe5725
* The amalgamation now compiles cleanly on GCC with optionsdrh2008-12-08
| | | | | -pedantic-errors -Wno-long-long. (CVS 5991) FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c
* #ifdef out unused static function mutexIsNT(). Ticket #3481. (CVS 5875)shane2008-11-10
| | | FossilOrigin-Name: 239186804c7541abc512da33bba8f6fc7d24a374
* Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", ↵danielk19772008-06-26
| | | | | "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) FossilOrigin-Name: cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
* Fix some minor compile problems. (CVS 5248)drh2008-06-19
| | | FossilOrigin-Name: 7d38da3eea9ce93f32e90fce0af5101e2cf12462
* Shuffle some of the mutex related documentation in sqlite.h.in to match the ↵danielk19772008-06-19
| | | | | new sqlite3_mutex_methods based API. (CVS 5244) FossilOrigin-Name: 9cd7f8669a59c6096331229df2e2ad87e628abab