FreeRDP
pollset.c File Reference
#include <errno.h>
#include "pollset.h"
#include <winpr/handle.h>
#include <winpr/sysinfo.h>
#include <winpr/assert.h>
#include "../log.h"

Macros

#define TAG   WINPR_TAG("sync.pollset")
 

Functions

BOOL pollset_init (WINPR_POLL_SET *set, size_t nhandles)
 
void pollset_uninit (WINPR_POLL_SET *set)
 
void pollset_reset (WINPR_POLL_SET *set)
 
BOOL pollset_add (WINPR_POLL_SET *set, int fd, ULONG mode)
 
int pollset_poll (WINPR_POLL_SET *set, DWORD dwMilliseconds)
 
BOOL pollset_isSignaled (WINPR_POLL_SET *set, size_t idx)
 
BOOL pollset_isReadSignaled (WINPR_POLL_SET *set, size_t idx)
 
BOOL pollset_isWriteSignaled (WINPR_POLL_SET *set, size_t idx)
 

Macro Definition Documentation

◆ TAG

#define TAG   WINPR_TAG("sync.pollset")

Function Documentation

◆ pollset_add()

BOOL pollset_add ( WINPR_POLL_SET *  set,
int  fd,
ULONG  mode 
)
Here is the caller graph for this function:

◆ pollset_init()

BOOL pollset_init ( WINPR_POLL_SET *  set,
size_t  nhandles 
)
Here is the caller graph for this function:

◆ pollset_isReadSignaled()

BOOL pollset_isReadSignaled ( WINPR_POLL_SET *  set,
size_t  idx 
)

◆ pollset_isSignaled()

BOOL pollset_isSignaled ( WINPR_POLL_SET *  set,
size_t  idx 
)
Here is the caller graph for this function:

◆ pollset_isWriteSignaled()

BOOL pollset_isWriteSignaled ( WINPR_POLL_SET *  set,
size_t  idx 
)

◆ pollset_poll()

int pollset_poll ( WINPR_POLL_SET *  set,
DWORD  dwMilliseconds 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pollset_reset()

void pollset_reset ( WINPR_POLL_SET *  set)
Here is the caller graph for this function:

◆ pollset_uninit()

void pollset_uninit ( WINPR_POLL_SET *  set)
Here is the caller graph for this function: