Marc-André Moreau
3c4bee3d95
libfreerdp-core: fix RDG valgrind issues
2015-03-17 16:54:45 -04:00
David FORT
52bd4469d9
Make handle operations static
...
This patch moves the handle operations in a static struct.
2015-03-16 10:31:26 +01:00
ivan-83
712b5e6174
* fix: /winpr/libwinpr/synch/timer.c:79:11: warning: implicit declaration of function 'read' is invalid in C99
2015-03-13 01:51:59 +03:00
Marc-André Moreau
dfc1238523
Merge pull request #2447 from ivan-83/master
...
Fix poor sound quality with ALSA, add OSS sound system support, FreeBSD patches
2015-03-12 10:09:02 -04:00
Armin Novak
13dce87403
Fixed missing return value check.
2015-03-11 18:14:50 +01:00
Armin Novak
98b0f37020
Initializing handles with calloc now.
2015-03-11 18:09:22 +01:00
Armin Novak
3594d39ba8
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
1e43f2a953
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
372927fedb
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
e701e802bb
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
33995e936c
Using new handle cleanup structure
2015-03-11 17:57:01 +01:00
Armin Novak
1706c1f8db
Using handle close callback now.
2015-03-11 15:11:20 +01:00
Armin Novak
15f9344c5b
Using handle close callback now.
2015-03-11 15:11:17 +01:00
Armin Novak
4d471aacd6
Using handle close callback now.
2015-03-11 15:11:14 +01:00
Armin Novak
5520a1cafb
Using handle close callback now.
2015-03-11 15:11:11 +01:00
ivan-83
434436b75f
* BSD/FreeBSD build fix
2015-03-10 01:21:28 +03:00
Marc-André Moreau
ccf144e10f
libwinpr-synch: fix test build on Win32
2015-02-17 18:44:09 -05:00
Marc-André Moreau
a4979456e5
Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway
2015-02-04 11:36:05 -05:00
Petr Sumbera
17df42e4b5
Fixes some build issues on Solaris 11.
2015-02-02 08:48:54 -08:00
Marc-André Moreau
85191391d5
libfreerdp-core: simplify TS Gateway RPC fragment receiving
2015-01-31 16:56:25 -05:00
Marc-André Moreau
3a906caa4a
freerdp: add event handle usage instead of file descriptors
2015-01-29 22:57:58 -05:00
Marc-André Moreau
5bf8b1509e
libfreerdp-core: improve socket BIO handling
2015-01-28 13:46:17 -05:00
Armin Novak
51cc567dc6
Fixed typo.
2014-11-16 23:52:22 +01:00
Armin Novak
a1761d8a7b
Fixed memory leaks.
2014-11-16 23:10:33 +01:00
Armin Novak
e77a4fedc2
Fixed memory leak.
2014-11-16 17:06:42 +01:00
Armin Novak
ff3fcc24c1
Fixed unlocking if pthread_join fails.
2014-11-10 10:24:32 +01:00
Armin Novak
017e4a323e
Locking thread until joined now, preventing multiple joins and race conditions.
2014-11-03 09:29:35 +01:00
Armin Novak
5bf25fd87c
Fixed missing includes and typo.
2014-10-27 11:45:39 +01:00
Armin Novak
8f98f28ce8
Fixed merge errors.
2014-10-27 11:39:02 +01:00
Armin Novak
c6ed95d1bf
Fixed typo
2014-10-27 11:28:13 +01:00
Armin Novak
7acdbdaa85
Error messages now prefixed with function name.
...
Implemented bWaitAll for WaitForMultipleObjects.
pthread_join now only called on first wait event, later ones skip this to avoid undefined behavior.
2014-10-27 11:28:11 +01:00
Armin Novak
c5bb6125c1
Added additional tests for WaitForSingleObject and WaitForMultipleObjects.
2014-10-27 11:23:18 +01:00
Armin Novak
c304f457cf
Implemented thread handling for WaitForMultipleObjects.
...
Implemented thread specific functions.
2014-10-27 11:23:15 +01:00
Marc-André Moreau
d102e746c8
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/license.c
libfreerdp/core/nego.c
winpr/libwinpr/synch/wait.c
2014-09-19 14:38:25 -04:00
Armin Novak
0131e576b7
Fixed Barrier test. First get the thread ID, then wait for the barrier to be reached.
2014-09-09 16:33:05 +02:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
7e3a1b3073
Now using macro to generate module specific log tag.
2014-09-09 16:32:04 +02:00
Armin Novak
28ece6bb46
Replaced stdio logging with WLog
2014-09-09 16:31:46 +02:00
Mike McDonald
2ec493d094
Reverted WaitForSingleObject for event handles to retry the select upon receiving an EINTR error
2014-08-21 08:21:29 -04:00
Marc-André Moreau
1a8c763309
Merge branch 'shadow' of github.com:awakecoding/FreeRDP
2014-08-18 17:06:13 -04:00
Marc-André Moreau
5e177118aa
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-08-18 16:23:45 -04:00
Marc-André Moreau
78d43ced3d
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-08-15 11:44:07 -04:00
Marc-André Moreau
168d46f253
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/nego.c
libfreerdp/core/peer.c
winpr/libwinpr/synch/wait.c
2014-08-15 11:43:50 -04:00
Marc-André Moreau
90d202ab87
server: fix build on Windows
2014-08-11 19:31:38 -04:00
Marc-André Moreau
6c85505ecc
libwinpr-synch: replace pthreads-based barrier implementation by interlocked operations + event and avoid deadlocks
2014-08-08 21:02:15 -04:00
Marc-André Moreau
54264936d1
shadow: improve synchronization barrier usage
2014-08-08 20:51:26 -04:00
Marc-André Moreau
edde16e9d5
libwinpr-synch: add initial synchronization barrier implementation
2014-08-08 17:34:30 -04:00
Rene Rheaume
5f9c36da5d
* Use futimens that is POSIX-compliant and compatible with uclibc instead of futimes.
...
* Borrowed eventfd_read and eventfd_write from bionic for uclibc compatibility (uclibc headers are broken unfortunately). Bionic and
FreeRDP are both under the Apache 2.0 license.
2014-08-06 22:06:01 -04:00
Mike McDonald
ca0ddf4039
Merge branch 'awakecoding' of https://github.com/vworkspace/FreeRDP into awakecoding
2014-08-01 15:49:19 -04:00
Mike McDonald
12c0bd64f0
Removed loop which was retrying the select after being interrupted by a signal. This was leading to threads blocking forever.
2014-08-01 15:48:54 -04:00