We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Handmade Hero»Forums»Code
Oliver Marsh
195 posts / 1 project
Olster1.github.io
Asset Loading Locks Question
Hi,
I was watching video 165 about fixing the asset loading bug, however I got confused why we needed to lock against moving the asset memory header to the front of the queue? I thought the asset loading is ever only done on the main thread and it is the writing of the data that is done on the separate threads, so the main thread is the only one who accesses the header list to update it. What am I missing?

Thanks,
Oliver
Oliver Marsh
195 posts / 1 project
Olster1.github.io
Asset Loading Locks Question
Edited by Oliver Marsh on
Don't worry, I should have watched the next video. :blush: