You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated by another user by mail, those issues seem related to:
...when you call reset the code is still running in the thread... so while it iterating over the items, suddenly they are removed and of course you will get floating point errors and access violations. Also destroying and item while iterating over the list, will cause these problems too.
...basically in a thread environment, you have to project critical sections with semaphores.... I basically flatten the PhysicsLoop into a routine called PhysicsThread... and then have my own loop that calls PhysicsThread and I wrap this in critical sections (pseudocode:
procedure physics_loop
begin
repeat
lock.enter;
PhysicsThread;
lock.leave
until done = true;
end;
The text was updated successfully, but these errors were encountered:
Related issues: raysan5/raylib#485 and raysan5/raylib#486
As stated by another user by mail, those issues seem related to:
The text was updated successfully, but these errors were encountered: