Job system for multithreading #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a job system to distribute work across worker threads.
Structure
engine/jobs/orlibs/sophia_jobs/), built as aSTATIClibrary with no dependencies beyond the standard library, so it can be extracted later if needed.sophia_enginelinks against it.Core scope
jobs::submit()/jobs::wait(counter)Naming
Use "job" terminology (
sophia::jobs,Job,JobSystem) rather than "task", to match game-engine convention and avoid confusion with coroutinetask<T>types.Follow-ups (separate issues)