mistachkin
|
8d9837acd5
|
Adjustments to sqlite3MemoryBarrier() when compiling with MSVC and/or WinCE.
FossilOrigin-Name: 3168326ebfa1c961d8fc6435453b02be23d910cc
|
2015-10-06 01:44:53 +00:00 |
|
drh
|
539482b76a
|
Expand the header comment to clarify the purpose for the
sqlite3MemoryBarrier() function.
FossilOrigin-Name: b89495ae09aa0e9652475b2ba1943dfd87c73e07
|
2015-09-26 03:23:29 +00:00 |
|
drh
|
2d64034bc2
|
Improved memory barrier that should work with MinGW on older versions of
Windows.
FossilOrigin-Name: 47dc24bd1e8f76eb17ba53a883b8984b3e1b2934
|
2015-09-06 10:31:37 +00:00 |
|
drh
|
6081c1dbdf
|
Add a memory barrier to the mutex initialization logic, try to work around
an issue reported by WebKit.
FossilOrigin-Name: 11a9a786ec06403addb47f5c6fb142b382fae522
|
2015-09-06 02:51:04 +00:00 |
|
mistachkin
|
93de653844
|
Add static mutexes for use by the built-in / third-party VFSs and use the built-in VFS mutex where appropriate.
FossilOrigin-Name: b202e2a1d73d104d795d2252b1c6f61d65bfb295
|
2015-07-03 21:38:09 +00:00 |
|
drh
|
cbb3f33c56
|
Make sure the sqlite3_mutex.id field is initialized in the Win32
mutex implementation, even when SQLITE_DEBUG is turned off.
FossilOrigin-Name: 6d132e7a224ee68b5cefe9222944aac5760ffc20
|
2015-02-25 14:25:31 +00:00 |
|
drh
|
96c707a3c2
|
Improvements to SQLITE_ENABLE_API_ARMOR.
FossilOrigin-Name: 823ad40ccb5b51aaa0d5a48da63b465df9d0649a
|
2015-02-13 16:36:14 +00:00 |
|
mistachkin
|
cd54bab6fe
|
Minor fixes and enhancements to the SQLITE_ENABLE_API_ARMOR functionality.
FossilOrigin-Name: cb3e4219ac9560d2773b85453aafda54b7c9346f
|
2014-12-20 21:14:14 +00:00 |
|
mistachkin
|
ce64d61050
|
Fix compiler warnings on WinCE.
FossilOrigin-Name: cc910b8e0c45e7387024f3a729003e2fef08b198
|
2014-08-14 18:31:56 +00:00 |
|
mistachkin
|
202cb64189
|
Optimizations to the OS sub-type checking in the Win32 VFS.
FossilOrigin-Name: 1e5489faff093d6a8e538061e45532f9050e9459
|
2014-07-31 18:54:01 +00:00 |
|
mistachkin
|
0174ffa976
|
Re-integrate the recent changes from the 'winMutex' branch back into the Win32 mutex subsystem.
FossilOrigin-Name: 5360ecb0b8891d0c27f3f02d81b6c7b548361a10
|
2014-07-30 23:11:16 +00:00 |
|
drh
|
d42d0bed94
|
Add three new static mutexes for use by the application. This is a partial
import of changes from the threads branch.
FossilOrigin-Name: 3aad01960f92c5e77dba64ac1a6c6b063378fb97
|
2014-07-30 21:10:12 +00:00 |
|
mistachkin
|
d6918657d8
|
Enhancements and updates to the Win32 mutex subsystem.
FossilOrigin-Name: 18984c321049a759f6619cfa17fb3f4e7b3e08ea
|
2014-07-29 05:49:02 +00:00 |
|
mistachkin
|
0f710546e7
|
In mutex_w32.c, make inclusion of the Windows header file dependent on SQLITE_OS_WIN, not SQLITE_MUTEX_W32.
FossilOrigin-Name: 93ffbcc0b1d207950851dbb16a8c101afb949d5f
|
2014-05-12 15:37:03 +00:00 |
|
mistachkin
|
8bc5262915
|
Initial work on isolating usage of the Windows header file.
FossilOrigin-Name: 0d42c6b830ee50f45539d73e3948ed3bc50a11d1
|
2013-11-25 09:36:07 +00:00 |
|
mistachkin
|
b324bc79e9
|
Make names of private functions in the Win32 VFS consistent. Fix comment typo in Win32 mutex implementation.
FossilOrigin-Name: c3b82c5bf97cfb35544c5b1fbcdf7b9c4827d1cf
|
2013-08-28 02:37:29 +00:00 |
|
mistachkin
|
f64188910d
|
Fix several harmless compiler warnings. Fix a couple compiler issues with the shell.
FossilOrigin-Name: 8917e9f9a0802cbfb6f33e2ab1c2f98e4df5babd
|
2013-08-28 01:54:12 +00:00 |
|
mistachkin
|
9721c21c41
|
Allow the SQLITE_API macro to apply to the sqlite3_win32_sleep function.
FossilOrigin-Name: 21266c68afb067ff40062df1e8b383dfd247c17b
|
2012-06-18 17:15:29 +00:00 |
|
mistachkin
|
c8bde37d19
|
Fix a few compilation issues that can occur with certain compilers (e.g. GCC 2.95.3, MSVC).
FossilOrigin-Name: f970a3de61fe2ebaf1778c4a3383cfdc52299162
|
2012-06-18 08:00:56 +00:00 |
|
mistachkin
|
617235b1a0
|
Fix an #if that is applicable to WinRT, even thought it is currently disabled by another #if.
FossilOrigin-Name: baa8b7830779d5797e210a2e057181413412e152
|
2012-06-06 23:25:33 +00:00 |
|
mistachkin
|
f4f327ce07
|
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.
FossilOrigin-Name: 7af88ad306612dd316827c506dbf8df7477b2ec1
|
2012-03-13 03:35:07 +00:00 |
|
mistachkin
|
df562d5535
|
More changes required to compile for WinRT using VS 11 beta. Also, replace more APIs with their WinRT alternatives.
FossilOrigin-Name: 6b997d9c32076c480ff4f101ff93bae3f443e252
|
2012-03-13 01:16:57 +00:00 |
|
drh
|
cf3d7a4e13
|
Add recognition of the SQLITE_OS_WINRT compile-time option.
Use InitializeCriticalSectionEx() under winRT.
FossilOrigin-Name: 8b7ca8a09f7b69db1fe766616cba0307e681a6f3
|
2012-03-01 20:05:41 +00:00 |
|
shaneh
|
9d677e1599
|
Fix cut-and-paste typo in debugging print statement in winMutexTry().
FossilOrigin-Name: def98fd23e42bda13547e38ab13fed0e6554ce99
|
2011-03-15 02:55:28 +00:00 |
|
dan
|
6d4fb833b7
|
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.
FossilOrigin-Name: 456bd5c63b41bae8e389df81e318b830aa314000
|
2011-01-26 07:25:32 +00:00 |
|
dan
|
84612fec1c
|
Changes to debugging code in mutex_unix.c and mutex_w32.c to make an assert() statement threadsafe.
FossilOrigin-Name: e82e32bd431ccacd276df8241592eb5519d87122
|
2010-08-10 07:12:26 +00:00 |
|
dan
|
558814f8c6
|
Add some 'const' markers to static data that is really constant.
FossilOrigin-Name: e7073e23b80e7cae0c76d42f014ee9b2d40a8f2f
|
2010-06-02 05:53:53 +00:00 |
|
drh
|
72339a3e24
|
Make debugging elements of the sqlite3_mutex object volatile and make them
only appear when compiling with SQLITE_DEBUG. Ticket [51914f6acd2cb462].
FossilOrigin-Name: e823c60ca4c3d515b8b12dada4631fe8f44975e9
|
2010-05-13 20:19:17 +00:00 |
|
shaneh
|
1da207e676
|
Minor changes to silence compiler warnings on various MSVC builds.
FossilOrigin-Name: 115c978b6bbc110119a1b2f178cc30b33aaa27ef
|
2010-03-09 14:41:12 +00:00 |
|
shaneh
|
1f4222f84c
|
Merged tracing and initialization changes from mutex_unix.c.
FossilOrigin-Name: 942aa1f6a91655356cc32a8185cb447331d405dc
|
2010-02-13 02:31:09 +00:00 |
|
drh
|
c81c11f62c
|
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
|
2009-11-10 01:30:52 +00:00 |
|
shane
|
7c7c311da5
|
More documentation and comment updates for sqlite3_initialize/shutdown interface changes to handle failures.
FossilOrigin-Name: 32509bc7339cd6a46cea4c243e3418546860cb2d
|
2009-08-17 15:31:23 +00:00 |
|
drh
|
9ac06509f1
|
Enhanced documentation and minor code tweaks in preparation for hardening
the sqlite3_initialize/shutdown interfaces against initialization failures.
FossilOrigin-Name: 98c49e6135ae6268a80de88f8b0284f88ef32e1d
|
2009-08-17 13:42:29 +00:00 |
|
shane
|
1987c8d4c3
|
Fixed "Interlocked" logic error that prevented the "static" mutexes from being released when sqlite3_shutdown() is called. Ticket #4011. (CVS 6964)
FossilOrigin-Name: 04cafb7ee3b67a68c0604d7f1143feaec44be610
|
2009-08-10 03:23:21 +00:00 |
|
shane
|
ddfefca736
|
Added assert to verify winMutex system is inited before "static" mutexes are used. (CVS 6701)
FossilOrigin-Name: b126013b5a1d6526810139d19acbec7fd0ab8168
|
2009-06-01 17:10:22 +00:00 |
|
shane
|
61b82d6aa5
|
Ensure that "static" mutexes are deleted on shutdown so that they are not leaked across restarts. (CVS 6700)
FossilOrigin-Name: 4e75897ee177bd24145f9dbfccd41a03c108440f
|
2009-06-01 17:06:07 +00:00 |
|
shane
|
1a38964b50
|
Made code to remove unused parameter warning part of the conditional. Ticket #3610. (CVS 6219)
FossilOrigin-Name: c5dca1146de72071ed2e5fdf6890f41682272587
|
2009-01-30 16:09:22 +00:00 |
|
shane
|
d87897dfa2
|
Minor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610. (CVS 6215)
FossilOrigin-Name: c74c78e4eb7f6d674b7564b33387db996fbe5725
|
2009-01-30 05:40:27 +00:00 |
|
drh
|
1875f7a3db
|
The amalgamation now compiles cleanly on GCC with options
-pedantic-errors -Wno-long-long. (CVS 5991)
FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c
|
2008-12-08 18:19:17 +00:00 |
|
shane
|
b2111838c6
|
#ifdef out unused static function mutexIsNT(). Ticket #3481. (CVS 5875)
FossilOrigin-Name: 239186804c7541abc512da33bba8f6fc7d24a374
|
2008-11-10 20:01:40 +00:00 |
|
danielk1977
|
29bafeabcd
|
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)
FossilOrigin-Name: cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
|
2008-06-26 10:41:19 +00:00 |
|
drh
|
a418980be0
|
Fix some minor compile problems. (CVS 5248)
FossilOrigin-Name: 7d38da3eea9ce93f32e90fce0af5101e2cf12462
|
2008-06-19 16:07:07 +00:00 |
|
danielk1977
|
4a9d1f665f
|
Shuffle some of the mutex related documentation in sqlite.h.in to match the new sqlite3_mutex_methods based API. (CVS 5244)
FossilOrigin-Name: 9cd7f8669a59c6096331229df2e2ad87e628abab
|
2008-06-19 08:51:23 +00:00 |
|
danielk1977
|
6d2ab0e431
|
Change the mutex interface to be pluggable. This is an incremental checkin, there are still changes to come. (CVS 5227)
FossilOrigin-Name: 597283637bcdc2398bf249b2bbc6ded47ad2de22
|
2008-06-17 17:21:18 +00:00 |
|
drh
|
40257ffd0a
|
Progress toward implementation of sqlite3_config() and a rework of the
mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218)
FossilOrigin-Name: a03c5af115889f477e17187a198a7d2d40bc76bf
|
2008-06-13 18:24:27 +00:00 |
|
danielk1977
|
dfb316d432
|
Changes to delay freeing buffers associated with vdbe memory cells until either sqlite3_finalize() or sqlite3_release_memory() is called. (CVS 4922)
FossilOrigin-Name: 8c2f69521f13bc24cf005520efbe0589eeadd763
|
2008-03-26 18:34:43 +00:00 |
|
drh
|
865050681a
|
Do not attempt to use TryEnterCriticalSection() under win32. It causes
too many compiler problems. Ticket #2685. (CVS 4471)
FossilOrigin-Name: f795431c725d88bd4011f20cf63cac630de842f1
|
2007-10-05 15:08:01 +00:00 |
|
drh
|
df6a81c838
|
Restore the sqlite3_mutex_try() optimization on winNT systems. (CVS 4402)
FossilOrigin-Name: 3aace2fa91e96038f7a32366828ac7520470fa67
|
2007-09-05 14:30:42 +00:00 |
|
drh
|
ca49cbaf63
|
Do not use the TryEnterCriticalSection API on windows since it is
unavailable on some platforms. (CVS 4399)
FossilOrigin-Name: bf3d67d1bd1c48fff45dc24818b8358f79c9fdef
|
2007-09-04 22:31:36 +00:00 |
|
drh
|
c7ce76af8f
|
Bug fixes in the mutex header file. Tickets #2599 and #2600. (CVS 4335)
FossilOrigin-Name: 4bdfe1419c536fec5b3c0a7fbe3d0ff52f183f43
|
2007-08-30 14:10:30 +00:00 |
|