FreeRDP
sleep.c File Reference
#include <winpr/config.h>
#include <winpr/platform.h>
#include <winpr/windows.h>
#include <winpr/synch.h>
#include "../log.h"
#include "../thread/apc.h"
#include "../thread/thread.h"
#include "../synch/pollset.h"
#include <time.h>

Macros

#define TAG   WINPR_TAG("synch.sleep")
 

Functions

WINPR_PRAGMA_DIAG_PUSH WINPR_PRAGMA_DIAG_IGNORED_RESERVED_ID_MACRO WINPR_PRAGMA_DIAG_POP VOID Sleep (DWORD dwMilliseconds)
 
DWORD SleepEx (DWORD dwMilliseconds, BOOL bAlertable)
 
VOID USleep (DWORD dwMicroseconds)
 

Macro Definition Documentation

◆ TAG

#define TAG   WINPR_TAG("synch.sleep")

WinPR: Windows Portable Runtime Synchronization Functions

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ Sleep()

Here is the caller graph for this function:

◆ SleepEx()

DWORD SleepEx ( DWORD  dwMilliseconds,
BOOL  bAlertable 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ USleep()

VOID USleep ( DWORD  dwMicroseconds)
Here is the call graph for this function:
Here is the caller graph for this function: