/ Check-in [9964ad24]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Compilation fix for POSIX.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mutexDbg2
Files: files | file ages | folders
SHA1: 9964ad245f66cd04cb41338180b65923ef093094
User & Date: mistachkin 2017-02-15 00:02:02
Context
2017-02-15
00:45
Make fine time granularity work on POSIX. check-in: 79057716 user: mistachkin tags: mutexDbg2
00:02
Compilation fix for POSIX. check-in: 9964ad24 user: mistachkin tags: mutexDbg2
2017-02-14
23:58
Experimental enhancements to mutex debugging. check-in: 80481754 user: mistachkin tags: mutexDbg2
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556

/*
** This macro returns a 64-bit integer time value, in milliseconds,
** or zero if that information is not available.
*/
# ifndef SQLITE_GET_MUTEX_TIME
#  if SQLITE_OS_UNIX
#   define SQLITE_GET_MUTEX_TIME()   (((i64)time())*1000)
#  elif SQLITE_OS_WIN
#   define SQLITE_GET_MUTEX_TIME()   ((i64)GetTickCount())
#  else
#   define SQLITE_GET_MUTEX_TIME()   (0)
#  endif
# endif








|







3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556

/*
** This macro returns a 64-bit integer time value, in milliseconds,
** or zero if that information is not available.
*/
# ifndef SQLITE_GET_MUTEX_TIME
#  if SQLITE_OS_UNIX
#   define SQLITE_GET_MUTEX_TIME()   (((i64)time(0))*1000)
#  elif SQLITE_OS_WIN
#   define SQLITE_GET_MUTEX_TIME()   ((i64)GetTickCount())
#  else
#   define SQLITE_GET_MUTEX_TIME()   (0)
#  endif
# endif