8 Commits

Author SHA1 Message Date
Noel Graf 34d957c561 fix(server): Consistency in the use of the Windows architecture flag 2025-01-09 15:00:38 +01:00
Johannes Kauffmann 1bda4f6083 fix(examples,tests): correct Windows define
Checking for WIN32 only works by virtue of CMake defining WIN32, by
itself. The _WIN32 define actually comes from the compiler, so use
that instead.

Since these are examples and tests, don't use UA_ARCHITECTURE_WIN32.
2024-01-20 09:52:19 +01:00
Christian von Arnim 28177296df Fix: Mutex on win32 2020-04-29 10:38:44 +02:00
Ubuntu cbf26d66ed fix(multithreading): Fix tests for windows 2019-09-10 07:41:05 +02:00
Julius Pfrommer 1f686ae360 Tests: Fix thread_wrapper on MinGW 2019-06-06 02:32:09 +02:00
Stefan Profanter c63abccb4d Tests: only call ck_assert while test is running
ck_assert can only be called while a test is running.
See https://github.com/libcheck/check/issues/18 and https://github.com/libcheck/check/pull/123

There was a race condition where the server loop tried to lock the mutex
and assert the return value, although the tests already finished.

Fixes #2331
2019-01-03 20:24:53 +01:00
Ari 23541ab109 Add mutex wrapper 2018-11-15 16:16:01 +01:00
Stefan Profanter 3619afb6bd Add unit test for windows 2017-11-22 15:56:50 +01:00