mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Revert whitespace fixes to third_party (#501)
This commit is contained in:
parent
d4000bb8f7
commit
9de3d8f1e6
365 changed files with 39190 additions and 39211 deletions
8
third_party/sqlite3/mutex_unix.c
vendored
8
third_party/sqlite3/mutex_unix.c
vendored
|
@ -65,7 +65,7 @@ struct sqlite3_mutex {
|
|||
** there might be race conditions that can cause these routines to
|
||||
** deliver incorrect results. In particular, if pthread_equal() is
|
||||
** not an atomic operation, then these routines might delivery
|
||||
** incorrect results. On most platforms, pthread_equal() is a
|
||||
** incorrect results. On most platforms, pthread_equal() is a
|
||||
** comparison of two integers and is therefore atomic. But we are
|
||||
** told that HPUX is not such a platform. If so, then these routines
|
||||
** will not always work correctly on HPUX.
|
||||
|
@ -147,7 +147,7 @@ static int pthreadMutexEnd(void){ return SQLITE_OK; }
|
|||
**
|
||||
** Note that if one of the dynamic mutex parameters (SQLITE_MUTEX_FAST
|
||||
** or SQLITE_MUTEX_RECURSIVE) is used then sqlite3_mutex_alloc()
|
||||
** returns a different mutex on every call. But for the static
|
||||
** returns a different mutex on every call. But for the static
|
||||
** mutex types, the same mutex is returned on every call that has
|
||||
** the same type number.
|
||||
*/
|
||||
|
@ -258,7 +258,7 @@ static void pthreadMutexEnter(sqlite3_mutex *p){
|
|||
** is atomic - that it cannot be deceived into thinking self
|
||||
** and p->owner are equal if p->owner changes between two values
|
||||
** that are not equal to self while the comparison is taking place.
|
||||
** This implementation also assumes a coherent cache - that
|
||||
** This implementation also assumes a coherent cache - that
|
||||
** separate processes cannot read different values from the same
|
||||
** address at the same time. If either of these two conditions
|
||||
** are not met, then the mutexes will fail and problems will result.
|
||||
|
@ -301,7 +301,7 @@ static int pthreadMutexTry(sqlite3_mutex *p){
|
|||
** is atomic - that it cannot be deceived into thinking self
|
||||
** and p->owner are equal if p->owner changes between two values
|
||||
** that are not equal to self while the comparison is taking place.
|
||||
** This implementation also assumes a coherent cache - that
|
||||
** This implementation also assumes a coherent cache - that
|
||||
** separate processes cannot read different values from the same
|
||||
** address at the same time. If either of these two conditions
|
||||
** are not met, then the mutexes will fail and problems will result.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue