d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * IPRT - Low Resolution Timers, Generic RTTimerLRCreate() Implementation.
c58f1213e628a545081c70e26c6b67a841cff880vboxsync * Copyright (C) 2006-2010 Oracle Corporation
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * available from http://www.virtualbox.org. This file is free software;
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * you can redistribute it and/or modify it under the terms of the GNU
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * General Public License (GPL) as published by the Free Software
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * The contents of this file may alternatively be used under the terms
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * of the Common Development and Distribution License Version 1.0
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * VirtualBox OSE distribution, in which case the provisions of the
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * CDDL are applicable instead of those of the GPL.
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * You may elect to license modified versions of this file under the
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync * terms and conditions of either the GPL or the CDDL or both.
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync/*******************************************************************************
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync* Header Files *
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync*******************************************************************************/
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsyncRTDECL(int) RTTimerLRCreate(PRTTIMERLR phTimerLR, uint32_t uMilliesInterval, PFNRTTIMERLR pfnTimer, void *pvUser)
d1ae44110ca869b6cb4a708dc6d676e10f4167bavboxsync int rc = RTTimerLRCreateEx(phTimerLR, uMilliesInterval * UINT64_C(1000000), 0, pfnTimer, pvUser);