Files
filament/libs/utils/src
Mathias Agopian d9ba3998d2 JobSystem now automatically free Jobs (#91)
* JobSystem now automatically free Jobs

Until now Job allocation used a linear allocator
strategy which required to “reset” the JobSystem
periodically — typically once per frame in
filament.

This is no longer required. We use a pool allocator
now, which doesn’t add much overhead. It does
use a spin-lock for thread-safety though, since
we assume very little contention, this shouldn’t
be a problem.

* Thread Safe Object Pool Allocator

A lock-less, thread-safe object pool allocator,
now used for storing JobSystem’s jobs allocations.
This gets rid of the spin-lock introduced in the
previous cl.
2018-08-13 22:25:15 -07:00
..
2018-08-06 10:36:54 -07:00
2018-08-06 10:36:54 -07:00
2018-08-08 12:17:30 -07:00
2018-08-06 10:36:54 -07:00
2018-08-06 10:36:54 -07:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-08-08 12:17:30 -07:00
2018-08-06 14:44:29 -07:00
2018-08-03 10:38:22 -07:00