RichieSams / FiberTaskingLib

A library for enabling task-based multi-threading. It allows execution of task graphs with arbitrary dependencies.
Apache License 2.0
934 stars 80 forks source link

Add ftl::fibtex #95

Closed RichieSams closed 4 years ago

RichieSams commented 4 years ago

This is a re-submit of #66, after some fixes and rebasing/squashing.

Closes #64

This adds a Fiber-aware mutex implementation. The member functions are named so they can be used with std::lockable-type classes (unique_lock, lock_guard, etc.)

martty commented 4 years ago

There are some bogus files checked in, could you remove?

RichieSams commented 4 years ago

Whicg bogus files? I only see the new fibtex files, formatting files, and the gitattributes file. Screenshot_20200218-062328

martty commented 4 years ago

.ftl.dotSettings, plus run-clang-tidy.py seems like a file that belongs to clang tidy not us, but of this I am not sure. Are those linter/formatter files for the CI? Why are they in this PR?

RichieSams commented 4 years ago

Ahhh, I understand. It was laziness. I just tacked those commits to this PR. They're convenience scripts for running formatting / tidying. I'll move them to their own PR. (And we could potentially have CI run them and check for no changes)

RichieSams commented 4 years ago

Ok, pared down and fixed. The other commits will be in another PR after this is merged