FreeRDP
|
#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) |
#define TAG WINPR_TAG("apc") |
FreeRDP: A Remote Desktop Protocol Implementation APC implementation
Copyright 2021 David Fort conta ct@h arden ing- consu ltin 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.
void apc_cleanupThread | ( | WINPR_THREAD * | thread | ) |
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 | ||
) |
BOOL apc_init | ( | APC_QUEUE * | apc | ) |
void apc_register | ( | WINPR_THREAD * | thread, |
WINPR_APC_ITEM * | addItem | ||
) |
APC_REMOVE_RESULT apc_remove | ( | WINPR_APC_ITEM * | item | ) |
BOOL apc_uninit | ( | APC_QUEUE * | apc | ) |