Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Write multithreaded code with the job system

Use Unity's own Job system to get the most out of multi-core CPUs and parallelize your algorithms.
Read time 1 minuteLast updated 11 days ago

The job system lets you write simple and safe multithreaded code so that your application can use all available CPU cores to execute your code. This can help improve the performance of your application.

Topic

Description

Job system overviewUnderstand Unity's job system.
Jobs overviewUnderstand the type of jobs available.
Create a jobCreate and schedule a job.
Job dependenciesUnderstand job dependencies.
Parallel jobsUse parallel jobs to schedule multiple jobs at once.
Thread safe typesUnderstand thread safe types, such as NativeContainer objects.

Additional resources