aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2006-01-09 06:29:47 +0000
committerdanielk1977 <danielk1977@noemail.net>2006-01-09 06:29:47 +0000
commite501b89adad9fef84008c30c5bb663fb9c59f79a (patch)
tree4cd5547b8b856c2d3e0871c57bce138e72ff6b27 /src/os_unix.c
parent2e94d4dea54ad6c1b1539468ee517b363049bd2c (diff)
downloadsqlite-e501b89adad9fef84008c30c5bb663fb9c59f79a.tar.gz
sqlite-e501b89adad9fef84008c30c5bb663fb9c59f79a.zip
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)
FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 71125fa61..34da78dd6 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -502,7 +502,7 @@ static int findLockInfo(
struct stat statbuf;
struct lockInfo *pLock;
struct openCnt *pOpen;
- SqliteTsd *pTsd = sqlite3Tsd();
+ ThreadData *pTsd = sqlite3ThreadData();
rc = fstat(fd, &statbuf);
if( rc!=0 ) return 1;
@@ -1407,7 +1407,7 @@ static int unixUnlock(OsFile *id, int locktype){
** Close a file.
*/
static int unixClose(OsFile **pId){
- SqliteTsd *pTsd = sqlite3Tsd();
+ ThreadData *pTsd = sqlite3ThreadData();
unixFile *id = (unixFile*)*pId;
if( !id ) return SQLITE_OK;
if( CHECK_THREADID(id) ) return SQLITE_MISUSE;
@@ -1646,9 +1646,9 @@ int sqlite3UnixInMutex(){
/*
** This function is called automatically when a thread exists to delete
-** the threads SqliteTsd structure.
+** the threads ThreadData structure.
**
-** Because the SqliteTsd structure is required by higher level routines
+** Because the ThreadData structure is required by higher level routines
** such as sqliteMalloc() we use OsFree() and OsMalloc() directly to
** allocate the thread specific data.
*/