aboutsummaryrefslogtreecommitdiff
path: root/src/mutex_unix.c
Commit message (Collapse)AuthorAge
* Change 3 instance of #if SQLITE_ENABLE_API_ARMOR to #ifdef for consistency ↵stephan2023-10-15
| | | | | with how it is normally used. FossilOrigin-Name: dd766eeb59fec71627dd8ad8f120875b96fda455c6401e5671e086b785e2b2bc
* 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
* Fix a data race causing a tsan complaint with SQLITE_ENABLE_API_ARMOR buildsdan2018-02-17
| | | | | on unix. The race condition is not dangerous in practice, it just upsets tsan. FossilOrigin-Name: f53b8a573bfbb48780243d56ca8372165adb1b979731c43d46cd1f8eb7e593f3
* Fix some harmless gcc compiler warnings. Mostly in fts5, but also two in the ↵dan2015-12-23
| | | | | core code. FossilOrigin-Name: 5d44d4a6cf5c6b983cbd846d9bc34251df8f4bc5
* Fix over-length source code lines. No logic changes.drh2015-11-21
| | | FossilOrigin-Name: 198d191b2f5ef7d63ac0093c701955c9052fd734
* Expand the header comment to clarify the purpose for thedrh2015-09-26
| | | | | sqlite3MemoryBarrier() function. FossilOrigin-Name: b89495ae09aa0e9652475b2ba1943dfd87c73e07
* Import common changes from the mutex initialization branch.mistachkin2015-09-12
| | | FossilOrigin-Name: 334720c01722478af0d3dfd6fe8bafd88ba09f49
* 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
* Improvements to SQLITE_ENABLE_API_ARMOR.drh2015-02-13
| | | FossilOrigin-Name: 823ad40ccb5b51aaa0d5a48da63b465df9d0649a
* Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work indrh2014-10-24
| | | | | progress and is not yet completely functional. FossilOrigin-Name: c297a84bc678f81ffc0aa9139ab73f0ca87c1971
* 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
* Fix typos and comments and make minor changes to a few function names,drh2012-01-04
| | | | | as suggested by readership. FossilOrigin-Name: e9d05cbb7676cbda83f1b3b71447404d7edde898
* 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
* 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
* The amalgamation now compiles cleanly on GCC with optionsdrh2008-12-08
| | | | | -pedantic-errors -Wno-long-long. (CVS 5991) FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c
* Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)danielk19772008-11-17
| | | FossilOrigin-Name: 8009220c36635dd9b6efea7dc13281ca9625c40a
* Added support for vxworks >= 6.4; RTP mode tested, kernel mode untested. ↵chw2008-11-17
| | | | | (CVS 5910) FossilOrigin-Name: f45a1493636a5ee474dd6c0b5d286be2249b05aa
* Fix a bug in the HOMEGROWN_RECURSIVE_MUTEX implementation for unix.drh2008-07-16
| | | | | Ticket #3224. (CVS 5420) FossilOrigin-Name: 9af2514c83782b4745bf48a4f82ff83111fa5535
* 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
* Add some test infrastructure and cases for the new mutex api. (CVS 5230)danielk19772008-06-18
| | | FossilOrigin-Name: 262baee9952b28afe5dc77eb7365ebb11a480906
* Change the mutex interface to be pluggable. This is an incremental checkin, ↵danielk19772008-06-17
| | | | | there are still changes to come. (CVS 5227) FossilOrigin-Name: 597283637bcdc2398bf249b2bbc6ded47ad2de22
* Progress toward implementation of sqlite3_config() and a rework of thedrh2008-06-13
| | | | | mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) FossilOrigin-Name: a03c5af115889f477e17187a198a7d2d40bc76bf
* eliminate compile-time warnings related to missing field initializations ↵rse2008-03-29
| | | | | (CVS 4936) FossilOrigin-Name: d6a34d983e2181f1d1763bd3821a1e63f1e18818
* Changes to delay freeing buffers associated with vdbe memory cells until ↵danielk19772008-03-26
| | | | | either sqlite3_finalize() or sqlite3_release_memory() is called. (CVS 4922) FossilOrigin-Name: 8c2f69521f13bc24cf005520efbe0589eeadd763
* Reorganize the code for the homegrown recursive mutexes. Fix a placedrh2007-11-28
| | | | | | in the previous check-in where the #ifdef label was incorrect. Ticket #2804. (CVS 4576) FossilOrigin-Name: 542e11f954983ae26fef4ea850c8b2a20f738edd
* Clarify the conditions under which homegrown recursive mutexes workdrh2007-11-28
| | | | | | | (they require a coherent cache) and only enable them if there is an explicit #define so as to avoid accidental use on platforms that do not meet the constraints. Ticket #2805. (CVS 4575) FossilOrigin-Name: 80299eebddba9aac4c1bc36ffa2b440bffbf1751
* Add an implementation of recursive mutexes for unix systems thatdrh2007-11-28
| | | | | | lack pthreads recursive mutexes (ex: Solaris 2.6). Modern unix systems continue to use the recursive mutexes provided by pthreads. (CVS 4573) FossilOrigin-Name: f366a776c1b2dda42b4f10fdb8be66029165d084
* Clean up the locking in the btree logic. (CVS 4316)drh2007-08-28
| | | FossilOrigin-Name: 967ab229af462a8ae663090ea36b4cc10e351653
* Break up the mutex implementation into separate source files, onedrh2007-08-28
each for unix, w32, and os2. (CVS 4312) FossilOrigin-Name: fc5cd71aef5ac194f51d73350d773d532020967e