Commit Graph

7 Commits

Author SHA1 Message Date
3a5475b53e Remove Windows support which was broken in 1.0. 2018-04-21 15:19:36 +03:00
4a122b57a0 Add and use a define to check if pthread_cancel is available. 2018-01-22 18:38:52 +05:00
c4407dda5f Avoid pthread_cancel as it may not be defined.
Some target platforms, notably Android NDK, do not have pthread_cancel
function available, a simple solution using thread signals may be used
instead.
2018-01-22 18:11:15 +05:00
05f2a8e87b Fix #118: Build fails on i686 when using system ck
Provide compatibility wrappers for system (i.e. distribution-provided)
ConcurrencyKit on i386. Unlike bundled ConcurrencyKit, older versions
that may be provided by distributions do not support CK_USE_CC_BUILTINS,
which makes implementing 64-bit atomics impossible on x86 (32-bit).

Detect if 64-bit atomics are not provided at compile stage and if so,
resort to GCC builtin implementations.
2017-03-13 14:38:19 +03:00
7f56e219f7 Rename --num-threads to --threads.
Accept the old name with a warning for compatibility.
2017-02-01 17:42:39 +03:00
49016568ba Implement custom commands + parallel custom commands. 2017-01-28 15:45:16 +03:00
06d4f99cb6 Rename the 'sysbench' subdirectory to 'src'. 2017-01-27 09:39:28 +03:00