Merge branch 'port_lfreg_test_to_c' Port the concurrent LFReg test from Perl to C. Implement utility functions to simplify tests executing concurrently.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/49782425 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/49782425 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/49782425 Branch: refs/heads/master Commit: 49782425c220bc25146c201138607bf1093c8d97 Parents: 1368881 77bf302 Author: Nick Wellnhofer <[email protected]> Authored: Sat May 16 15:30:45 2015 +0200 Committer: Nick Wellnhofer <[email protected]> Committed: Sat May 16 15:30:45 2015 +0200 ---------------------------------------------------------------------- runtime/c/src/Clownfish/Test/TestThreads.c | 113 ---------- runtime/c/src/Clownfish/TestHarness/TestUtils.c | 38 ++++ runtime/common/charmonizer.c | 57 +++-- runtime/common/charmonizer.main | 57 +++-- runtime/core/Clownfish/LockFreeRegistry.c | 11 + runtime/core/Clownfish/Test.c | 2 - runtime/core/Clownfish/Test/TestErr.c | 36 +++- .../core/Clownfish/Test/TestLockFreeRegistry.c | 100 ++++++++- runtime/core/Clownfish/Test/TestThreads.c | 28 --- runtime/core/Clownfish/Test/TestThreads.cfh | 28 --- runtime/core/Clownfish/TestHarness/TestUtils.c | 208 +++++++++++++++++++ .../core/Clownfish/TestHarness/TestUtils.cfh | 46 ++++ runtime/perl/buildlib/Clownfish/Build.pm | 8 + runtime/perl/t/binding/038-lock_free_registry.t | 82 -------- runtime/perl/t/core/050-threads.t | 23 -- runtime/perl/xs/XSBind.c | 36 +++- 16 files changed, 553 insertions(+), 320 deletions(-) ----------------------------------------------------------------------
