Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
mutex.c
2a4a4ec
Disable the debug-use-only functions sqlite3_mutex_held() and
by drh
· 10 months ago
24f6bac
Change 3 instance of #if SQLITE_ENABLE_API_ARMOR to #ifdef for consistency with how it is normally used.
by stephan
· 1 year, 9 months ago
ffd3fd0
Add new memory barriers during initialization.
by drh
· 5 years ago
0cdbe1a
Make the internal dynamic string interface available to extensions using
by drh
· 7 years ago
8adb25a
Fix a compilation problem when both SQLITE_ENABLE_MULTITHREADED_CHECKS and
by dan
· 8 years ago
a90a2d5
Use a symbolic constant instead of a literal (-1) to identify a
by dan
· 8 years ago
multithreaded-checks
8385bec
Add experimental feature to detect threading bugs in apps that use
by dan
· 8 years ago
04abf08
Import common changes from the mutex initialization branch.
by mistachkin
· 10 years ago
6081c1d
Add a memory barrier to the mutex initialization logic, try to work around
by drh
· 10 years ago
f5ed7ad
Fix harmless compiler warnings.
by drh
· 10 years ago
2d8ad51
Add special handling for static mutexes in sqlite3_mutex_alloc() when automatic calls to sqlite3_initialize() are enabled.
by mistachkin
· 11 years ago
d42d0be
Add three new static mutexes for use by the application. This is a partial
by drh
· 11 years ago
e4c88c0
Fix typos and comments and make minor changes to a few function names,
by drh
· 14 years ago
558814f
Add some 'const' markers to static data that is really constant.
by dan
· 15 years ago
92d7652
When the in single-threaded mode, the sqlite3_mutex_alloc() interface
by drh
· 15 years ago
7aba8fd
Fix the sqlite3_mutex_alloc() interface to return NULL (not segfault) when
by drh
· 15 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
· 16 years ago
1cf021e
Change a couple of comments to use "SQLITE_MUTEX_OMIT" instead of OMIT_MUTEX.
by dan
· 16 years ago
d0bc5d2
Omit the mutexIsInit test variable when mutexes are disabled.
by drh
· 16 years ago
fe5bdb3
Add assert() statement to verify that new mutexes are not allocated when
by drh
· 16 years ago
e64ca7b
Code simplifications and comment improvements in support of structural
by drh
· 16 years ago
0a54907
Allow sqlite3_shutdown() to be called by a process before sqlite3_initialize() is. Prior to this commit such a call could segfault. (CVS 6296)
by danielk1977
· 16 years ago
18472fa
Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0
by drh
· 17 years ago
075c23a
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652)
by danielk1977
· 17 years ago
4a9d1f6
Shuffle some of the mutex related documentation in sqlite.h.in to match the new sqlite3_mutex_methods based API. (CVS 5244)
by danielk1977
· 17 years ago
d025174
Remove public APIs sqlite3_mutex_init() and sqlite3_mutex_end(). This commit only changes the code, documentation is not updated yet. (CVS 5238)
by danielk1977
· 17 years ago
bc10d77
Add a call to sqlite3_initialize() to sqlite3_mutex_alloc() (CVS 5236)
by danielk1977
· 17 years ago
59f8c08
Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234)
by danielk1977
· 17 years ago
1a9ed0b
Add some test infrastructure and cases for the new mutex api. (CVS 5230)
by danielk1977
· 17 years ago
b2e3622
Add the SQLITE_CONFIG_MUTEX symbol for use with sqlite3_config(). (CVS 5228)
by danielk1977
· 17 years ago
6d2ab0e
Change the mutex interface to be pluggable. This is an incremental checkin, there are still changes to come. (CVS 5227)
by danielk1977
· 17 years ago
e5ae573
Continuing work on the new memory allocation subsystem.
by drh
· 17 years ago
fec00ea
Continuing progress on the new memory allocation subsystem. Added the
by drh
· 17 years ago
40257ff
Progress toward implementation of sqlite3_config() and a rework of the
by drh
· 17 years ago
dfb316d
Changes to delay freeing buffers associated with vdbe memory cells until either sqlite3_finalize() or sqlite3_release_memory() is called. (CVS 4922)
by danielk1977
· 17 years ago
c15f0b3
Fix a problem in the noop-mutexes used for testing. (CVS 4420)
by danielk1977
· 18 years ago
437b901
Break up the mutex implementation into separate source files, one
by drh
· 18 years ago
9f61c2f
Modify sqlite3_release_memory() to use a global LRU list of pages. Untested. (CVS 4301)
by danielk1977
· 18 years ago
4b6b4ab
Create a fresh pthread_mutexattr_t every time a recursive mutex is
by drh
· 18 years ago
8bacf97
Documentation and comment updates in sqlite.h.in and mutex.c. (CVS 4299)
by drh
· 18 years ago
058897a
Use recursive mutexes in pthreads. If the pthreads implementation does not
by drh
· 18 years ago
dc3060f
Bug fix in the implementation of recursive mutexes using non-recursive
by drh
· 18 years ago
bff101e
New mutex implementation for both Unix and windows. (CVS 4291)
by drh
· 18 years ago
2764170
A complete run of quick.test with mutex debugging enabled. (CVS 4266)
by drh
· 18 years ago
86f8c19
Reenable the memory management logic. The quick.test script now runs with
by drh
· 18 years ago
29278e3
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)
by drh
· 18 years ago
d677b3d
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253)
by drh
· 18 years ago
e53831d
Begin adding mutexes. Compiles without SQLITE_OMIT_SHARED_CACHE but we
by drh
· 18 years ago
6bdec4a
Change the design of the mutex interface to allow for
by drh
· 18 years ago
1e53695
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233)
by danielk1977
· 18 years ago
90f6a5b
Add initial implementations of mutex and memory subsystem modules. (CVS 4226)
by drh
· 18 years ago