FreeRDP
apc.c File Reference
#include "apc.h"
#include "thread.h"
#include "../log.h"
#include "../synch/pollset.h"
#include <winpr/assert.h>

Macros

#define TAG   WINPR_TAG("apc")
 

Functions

BOOL apc_init (APC_QUEUE *apc)
 
BOOL apc_uninit (APC_QUEUE *apc)
 
void apc_register (WINPR_THREAD *thread, WINPR_APC_ITEM *addItem)
 
static INLINE void apc_item_remove (APC_QUEUE *apc, WINPR_APC_ITEM *item)
 
APC_REMOVE_RESULT apc_remove (WINPR_APC_ITEM *item)
 
BOOL apc_collectFds (WINPR_THREAD *thread, WINPR_POLL_SET *set, BOOL *haveAutoSignaled)
 
int apc_executeCompletions (WINPR_THREAD *thread, WINPR_POLL_SET *set, size_t startIndex)
 
void apc_cleanupThread (WINPR_THREAD *thread)
 

Macro Definition Documentation

◆ TAG

#define TAG   WINPR_TAG("apc")

FreeRDP: A Remote Desktop Protocol Implementation APC implementation

Copyright 2021 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.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

◆ apc_cleanupThread()

void apc_cleanupThread ( WINPR_THREAD *  thread)
Here is the caller graph for this function:

◆ apc_collectFds()

BOOL apc_collectFds ( WINPR_THREAD *  thread,
WINPR_POLL_SET *  set,
BOOL *  haveAutoSignaled 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apc_executeCompletions()

int apc_executeCompletions ( WINPR_THREAD *  thread,
WINPR_POLL_SET *  set,
size_t  startIndex 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apc_init()

BOOL apc_init ( APC_QUEUE apc)
Here is the caller graph for this function:

◆ apc_item_remove()

static INLINE void apc_item_remove ( APC_QUEUE apc,
WINPR_APC_ITEM *  item 
)
static
Here is the caller graph for this function:

◆ apc_register()

void apc_register ( WINPR_THREAD *  thread,
WINPR_APC_ITEM *  addItem 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apc_remove()

APC_REMOVE_RESULT apc_remove ( WINPR_APC_ITEM *  item)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apc_uninit()

BOOL apc_uninit ( APC_QUEUE apc)
Here is the caller graph for this function: