Fixed broken timed wait for thread and mutex objects in WaitForSingleObject.
Using CLOCK_MONOTONIC instead of CLOCK_REALTIME now.
Fixed timeout comparison for systems missing GNU posix extensions.
Added missing C definition for HAVE_PTHREAD_GNU_EXT.
Extended test, now also checks, if lock / unlock is working.
Added unit tests for thread and mutex.
Fixed includes and test function naming.
Merge pull request #1592 from akallabeth/sync_timed_fixes

Fixed broken timed wait for thread and mutex in WaitForSingleObject
winpr: fixed build warnings

* moved pthread_tryjoin_np to toplevel CMakeLists.txt
* removed duplicated -DHAVE_PTHREAD_GNU_EXT
winpr: disabled schannel test

not practicable for now since it requires local key setup
Merge pull request #1596 from bmiklautz/pthread_ext

winpr: fixed build warnings
client/common: fixed TestClientRdpFile test

Unified ascii and unicode string handling.
Merge pull request #1597 from bmiklautz/tests

Fixed failing tests