allow to use in single threaded mode

(some client side channels and all server side channels still need to be
ported to new api)

server: build fix, do not disable threads for rfx encoder

cliprdr client channel: implemented support for DisableThreads option
looks like thread does not make sense at all for this channel

do not initialize disabled image codecs (respect settings)

channels: client: rail: added support for DisableThreads setting

changed "BOOL DisableThreads" to "UINT32 ThreadingFlags"
dropped unnecessary apu changes

draft implementation of threading settings aware message handling api
for addins/channels

rail: use new messaging api

fixed memory leak

msgs handlers external api changes (as requested)

msgs_handlers: init fix

fixed memory leak

logic fix

resolved problems appeared after rebase to master, dropped unnecessary
changes

git clang-format origin/master

fixed TestFreeRDPCodecRemoteFX.c

"formatting, run `clang-format` please"

properly use new "rfx_context_new(BOOL, UINT32)" everywhere

passed Threading Flags to "rfx_context_new" where available

in older C standarts veriables declaration must be done before any code

requested changes

clang-format as requested

use broken signatures of standert C functions for m$ s**tos

clang-format

requested changes

requested changes

moved ThreadingFlags to stable api zone

define type for channel msg handler

typo fix

clang-format

build fix

us ThreadingFlags from server settings

git clang-format origin/master

clang-format
This commit is contained in:
Gluzskiy Alexandr
2020-12-15 18:11:22 +03:00
committed by akallabeth
parent bf9bce2c3e
commit bee2e1526d
60 changed files with 527 additions and 467 deletions

View File

@@ -204,7 +204,8 @@ BOOL pf_modules_run_filter(PF_FILTER_TYPE type, proxyData* pdata, void* param)
*/
static BOOL pf_modules_set_plugin_data(const char* plugin_name, proxyData* pdata, void* data)
{
union {
union
{
const char* ccp;
char* cp;
} ccharconv;
@@ -233,7 +234,8 @@ static BOOL pf_modules_set_plugin_data(const char* plugin_name, proxyData* pdata
*/
static void* pf_modules_get_plugin_data(const char* plugin_name, proxyData* pdata)
{
union {
union
{
const char* ccp;
char* cp;
} ccharconv;