dougbinks / enkiTS

A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support.
zlib License
1.66k stars 138 forks source link

Fix: Mark deprecated functions [[deprecated]] #129

Closed spnda closed 1 month ago

spnda commented 1 month ago

This additionally replaces usages of GetIsRunning with GetIsShutdownRequested, and exposes the latter in the C API.

Partially fixes #128. Note that this does add a fair share of warnings to the compile output, since the deprecated functions are used internally. I also added enkiGetIsWaitforAllCalled for the C API since it was referenced in the documentation as a replacement for enkiWaitforAll, which already existed, so that only seemed logical.

dougbinks commented 1 month ago

Many thanks! I've merged this to pr-129 and updated that branch with a couple of changes. I'll test this and then merge to dev and main shortly.

dougbinks commented 1 month ago

I've fully merged this to main/dev and deleted the pr-129 branch. Once again many thanks!