/ Check-in [4ca2b2f8]
Login

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

Overview
Comment:Make SQLITE_GET_MUTEX_TIME a proper noop on non-Win32/non-POSIX.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | mutexDbg2
Files: files | file ages | folders
SHA1: 4ca2b2f8f593b6995d929cf7e64b7b1459ac3c5c
User & Date: mistachkin 2017-02-15 01:02:10
Context
2017-02-15
01:02
Make SQLITE_GET_MUTEX_TIME a proper noop on non-Win32/non-POSIX. Leaf check-in: 4ca2b2f8 user: mistachkin tags: mutexDbg2
00:52
Another compilation fix for POSIX. check-in: 82ef47ea user: mistachkin tags: mutexDbg2
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

3551
3552
3553
3554
3555
3556
3557
3558


3559
3560
3561
3562
3563
3564
3565
        return 1000*(i64)sNow.tv_sec + sNow.tv_usec/1000;  \
    }
#  elif SQLITE_OS_WIN
#   define SQLITE_GET_MUTEX_TIME      { \
        return (i64)GetTickCount();     \
    }
#  else
#   define SQLITE_GET_MUTEX_TIME      (0)


#  endif
# endif

/*
** This macro returns the integer type for the specified mutex or
** negative one if that information is not available.
*/







|
>
>







3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
        return 1000*(i64)sNow.tv_sec + sNow.tv_usec/1000;  \
    }
#  elif SQLITE_OS_WIN
#   define SQLITE_GET_MUTEX_TIME      { \
        return (i64)GetTickCount();     \
    }
#  else
#   define SQLITE_GET_MUTEX_TIME      { \
        return 0;                       \
    }
#  endif
# endif

/*
** This macro returns the integer type for the specified mutex or
** negative one if that information is not available.
*/