- 16 Jun, 2020 2 commits
-
-
Ben Clayton authored
d29553a3730 Add missing <vector> include git-subtree-dir: third_party/marl git-subtree-split: d29553a3730f2bbe7ab4afd37e926e787faae4a0
-
Ben Clayton authored
5c6c1532220 Fix Android build git-subtree-dir: third_party/marl git-subtree-split: 5c6c1532220096dd470549312053a445d7d95a2c
-
- 15 Jun, 2020 1 commit
-
-
Ben Clayton authored
c51271125 README.md: Repoint link from `master` to `main` da0a9c610 Add basic CMake rules for versioning marl 0e639c3c7 Benchmarks: Simplify tests further. 32af8bb50 Kokoro: Enable debug checks 8cf8dc033 Wrap all stl containers with a marl::StlAllocator 325b072b9 Support specifying worker thread affinities 49fe9a17f marl::containers: Add const methods 11f31bfbe Benchmarks: Warn if benchmarking with sanitizers bfdf613e7 Benchmarks: Add MARL_FULL_BENCHMARK flag 5e2383370 Benchmarks: Allow running with custom Config c277c61b0 marl::containers::vector fixes fcbe1f279 Add issue number to MARL_DEPRECATED() 1f010cad7 Warn about use of deprecated APIs d2e553bff Don't use deprecated scheduler methods git-subtree-dir: third_party/marl git-subtree-split: c51271125451c599efb9ec58b355a4c434296a8f
-
- 02 Jun, 2020 1 commit
-
-
Ben Clayton authored
38c0c7a0f Add Scheduler::Config and deprecate old [gs]etters 17b12a448 Use CreateFiberEx instead of CreateFiber (#141) 7236bd098 Test build / warning fixes for iOS c716869a7 Enable FreeBSD support 00433d418 Add tests for using a marl::Scheduler without binding 6b4f6472e Fix CMake warning when not built as subproject 0591f0ef0 Kokoro Ubuntu: Switch to docker image bf9255db7 Optimization for marl::parallelize git-subtree-dir: third_party/marl git-subtree-split: 38c0c7a0fb1ceec42fb48d9c5380026a9eb9b076
-
- 30 Apr, 2020 1 commit
-
-
Ben Clayton authored
3c643dd4c Reduce size of marl::ConditionVariable ffa88289a Pool::Loan::get(): Return nullptr if has no item. 6c9341313 Add a new test for 16-byte stack alignment for fibers. 924493413 Fix marl::parallelize race. git-subtree-dir: third_party/marl git-subtree-split: 3c643dd4c88d612a2622366074e029dca6a794d1
-
- 16 Apr, 2020 1 commit
-
-
Ben Clayton authored
748d3c161 Add usage recommendations to README.md 2939fcfed Replace marl::parallelize() 4b4600208 Fix stupid typo in front page code samples. 742bba9c8 Fix clang-tidy and go-vet warnings. git-subtree-dir: third_party/marl git-subtree-split: 748d3c16165c7dcff018273cfaf9d8f26a33333a
-
- 07 Apr, 2020 1 commit
-
-
Ben Clayton authored
539094011 CMake: Export MARL_THREAD_SAFETY_ANALYSIS_SUPPORTED c7f70ba7a CMake: Bump min version + include(CheckCXXSourceCompiles) 658a204fc Replace SAL annotations with clang's TSA annotations 9630bec2f Fix CMake warning: "Policy CMP0023 is not set" 9f369ad5d Update yarn:: to marl:: in an example git-subtree-dir: third_party/marl git-subtree-split: 53909401165022553ed9d1f0c572178559dc25ec
-
- 24 Mar, 2020 1 commit
-
-
Ben Clayton authored
16e1dc37c Add missing copyright header to marl-config.cmake.in 09b759550 CMake: link with pthread in a CMake way (#108) 47afda398 Kokoro+ubuntu: enable x86 and clang testing f421c8b4f Kokoro+ubuntu: Plubming for x86 & clang 69797fcf0 Fixes for x86. 3d6365b82 Scheduler: add wait() overloads that do not take a lock db1e8c767 Scheduler: block until all threads are unbound. git-subtree-dir: third_party/marl git-subtree-split: 16e1dc37c5e12c35b93272f0353d0e6e9f200a26
-
- 16 Mar, 2020 1 commit
-
-
Ben Clayton authored
ca8408f68 Scheduler: Reduce the number of mutex locks / unlock. 575b61e76 Fix compilation of marl::Ticket::onCall() e9f312688 waitForWork(): Early out if there work.num > 0 3196a0539 Scheduler: Use std::deque instead of std::queue 08a820171 Add flags to marl::Task cb3c481d0 Scheduler: Use a separate flag to indicate whether to call notify() 598c993ec marl::ConditionVariable - use containers::list d0c501a9c Add marl::containers::list aa1de9091 Benchmarks: Add EventBaton git-subtree-dir: third_party/marl git-subtree-split: ca8408f6890ff447eb5f90d663149f3327b1607e
-
- 12 Mar, 2020 1 commit
-
-
Ben Clayton authored
64d123947 thread.cpp: Replace use of alloca with vector. git-subtree-dir: third_party/marl git-subtree-split: 64d123947e4dbc741217ea7b49f3d2b6275be117
-
- 11 Mar, 2020 1 commit
-
-
Ben Clayton authored
94a361cf0 thread.cpp Fix minor bug in getProcessorGroups() 0249a2624 Thread: Use WaitForObject for Thread::join() 62f209bbb arm: Annotate marl_fiber_swap as type %function 00f091e08 Update README.md 773d9f475 Add new example 'tasks_in_tasks' 3f69e73ce Scheduler: Replace use of std::thread with marl::Thread git-subtree-dir: third_party/marl git-subtree-split: 94a361cf0b5187a5845f3a37c9e67c8406ccb40b
-
- 13 Feb, 2020 1 commit
-
-
Ben Clayton authored
a047dd0bb Include benchmarks on project's README.md 4c702da52 Scheduler: Fix lock state on Fiber::wait timeout. b4e305525 Docs: Add documentation for marl::Scheduler. 5f18ac0e0 ConditionVariable: Delete copy and move constructors f78eb441f Scheduler: document requirement to unbind() before destruction 9f9f6d32e Defer benchmark - avoid benchmark::DoNotOptimize() 3b610e902 Fix compiler warnings with MARL_FIBERS_USE_UCONTEXT 0dbab1184 Scheduler: Delete copy and move constructors / assignment ops. cbef55d58 Kokoro: Build benchmarks e923c3d96 Rework the 'hello task' example to be more idiomatic git-subtree-dir: third_party/marl git-subtree-split: a047dd0bbbd6a65ee4d03d0ceb4fedfa56da02a5
-
- 09 Feb, 2020 1 commit
-
-
Ben Clayton authored
246091e81 Implement support for MIPS64 2b3e3fe6d Core: Rework fiber scheduling to fix broken behavior. a10646182 Add tool to diff benchmarks. 2c9624c1b Kokoro: Print test output to logs. 36208b483 Use SAL annotations more aggressively in the scheduler. 492edc979 Add benchmarks using google benchmark 32102554d Add new 'hello task' example, add to README.md 9b860935b CMake: Make the marl target's include directory public 8cdb1b1f0 CMakeLists.txt: Make it easier to specify third_party vars. e25626a8e CMakeLists: Don't repeatedly include MARL_OS_LIBS git-subtree-dir: third_party/marl git-subtree-split: 246091e814658337b22f212c97d0659ea3673c9f
-
- 15 Nov, 2019 1 commit
-
-
Ben Clayton authored
14e4d862a Scheduler: Fix issues with fiber lists a timeouts. 57f41915d SwiftShader build fixes. 791187298 Add Event::any(). ecd5ab322 Implement yields with timeouts, wait_for() / wait_until() 6ba730d94 Update README.md 8348be4f0 Implement page-based functions for Fuchsia 5e512cd0c Fix condition logic of assert in TasksOnlyScheduledOnWorkerThreads. 37ae48f40 Add marl::Event. a90725760 Update README.md (#49) git-subtree-dir: third_party/marl git-subtree-split: 14e4d862a959b831fd994a436e7c104c6fd19006
-
- 04 Oct, 2019 1 commit
-
-
Ben Clayton authored
49e4e3141 Add blocking_call test for functions with non-void return. 0acd85c63 blocking_call: Workaround for GCC bug with parameter packs in lambdas. ce47eca32 Work around TSAN false-positive in old versions of GCC 85854b73a Implement allocation page guards d8b38213f Add missing header include guards 776f7a485 Add Allocator interface and use them throughout marl. git-subtree-dir: third_party/marl git-subtree-split: 49e4e314157e8560f6ad620f5ec28a877612f03b
-
- 24 Sep, 2019 1 commit
-
-
Nicolas Capens authored
12872a0df Comments: Improve & make style consistent 5bb61cf6a Scheduler: Ensure all scheduled tasks are finished when the scheduler is destructed. b5e3e1e00 src\scheduler_test.cpp: Reduce max number of in-flight tasks. d13286050 src\osfiber_windows.h: Assert that the Win32 fiber calls succeeded. 08da5139c .gitignore - Add Visual Studio generated files. 8007ea5de Temporarily disable DestructWithPendingFibers test. 5390897be Fix alignment of Pool items. 89425dcbc CMakeLists: Bump MSVC warnings to level 4 6df4597c3 Kokoro: Shuffle presubmit file layouts. e3b3c7df4 Add include/marl/memory.h for aligned memory allocations. 60598ef45 Fix TSAN issue with BlockingCall test. be3628456 CMakeLists: Add TSAN build flag git-subtree-dir: third_party/marl git-subtree-split: 12872a0dfe717ab75a7cf8e10621d723b8a1a382
-
- 20 Sep, 2019 1 commit
-
-
Nicolas Capens authored
5f31df137 aarch64: Fix saving/restoring register r29 on fiber switch 76f093bce Kokoro:Add bazel presubmits ea671dced Kokoro: Split build rules by build system 767915fdb Scheduler: Don't work-steal on the single threaded workers. 4fbdf5946 Bazel build support (#28) git-subtree-dir: third_party/marl git-subtree-split: 5f31df137868d306ecfb4c908cc6c5a725aeda63
-
- 14 Sep, 2019 1 commit
-
-
Nicolas Capens authored
bf3e23083 pool.h: Don't over-qualify Loan type parameters dc76e9653 CMake: Fix configuration file installation path fca4771b4 Scheduler: Increase max number of threads from 64 to 256. 1b3fd77b2 debug: Add MARL_WARN for printing warnings 3928f44d6 [Grammar] Fix passive tense. a2918916e CMake: Add install target (#21) 1ec7c36cf examples/primes.cpp: Add missing header including ed21a07a1 Minor cleanup git-subtree-dir: third_party/marl git-subtree-split: bf3e23083979c3bd3de1c77346b655eec423b3bc
-
- 09 Sep, 2019 1 commit
-
-
Ben Clayton authored
59068ee4c examples/fractal.cpp: Don't use rand() 7df53dd16 Add primes example ded37ceb8 Update README.md with build instructions b80c797df CMakeLists.txt: Don't default to building tests. d89fe34b6 CMakeLists.txt: Use explicit file lists 757566df0 Update README.md 8c98371e5 Presubmits: Enable warnings-as-errors. 0025389a1 CMakeLists: Add option to treat warnings as errors eeb070293 Fix all compiler warnings git-subtree-dir: third_party/marl git-subtree-split: 59068ee4cf1f5ff5e691ff010c8d83b5f862c4fa
-
- 05 Sep, 2019 1 commit
-
-
Ben Clayton authored
git-subtree-dir: third_party/marl git-subtree-split: d3b8558ce8d2cf2cad1009a99aa3ff453b048639
-