FreeRDP/winpr/libwinpr/pool
Norbert Federa ef1fd12b15 Fix unchecked CreateEvent calls and misc fixes
1)
Added missing checks for CreateEvent which also required the
following related changes:

- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL

2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.

3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.

4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers

5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +02:00
..
test Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
callback_cleanup.c winpr: improve windows builds across visual studio versions and toolsets 2014-07-17 15:11:04 -04:00
callback_environment.c winpr: improve windows builds across visual studio versions and toolsets 2014-07-17 15:11:04 -04:00
callback.c winpr: improve windows builds across visual studio versions and toolsets 2014-07-17 15:11:04 -04:00
cleanup_group.c winpr: improve windows builds across visual studio versions and toolsets 2014-07-17 15:11:04 -04:00
CMakeLists.txt Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without 2014-07-11 11:53:58 +02:00
io.c winpr: improve windows builds across visual studio versions and toolsets 2014-07-17 15:11:04 -04:00
module.def libwinpr-pool: stubbed thread pooling API 2012-12-21 18:30:33 -05:00
ModuleOptions.cmake libwinpr-pool: stubbed thread pooling API 2012-12-21 18:30:33 -05:00
pool.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
pool.h Fixed compilation with -Wstrict-prototypes 2013-02-14 22:20:43 +01:00
synch.c winpr: improve windows builds across visual studio versions and toolsets 2014-07-17 15:11:04 -04:00
timer.c winpr: improve windows builds across visual studio versions and toolsets 2014-07-17 15:11:04 -04:00
work.c Reformatted changed files. 2014-09-09 16:32:22 +02:00