Is there someone who know what part of the code is (or should be) thread-safe and/or could be executed in another thread ? (at this stage of dev)
(except for all 3D operations which must remain in the main thread)
Thread-safe or not
Thread-safe or not
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
normally, every piece of the engine should be able to run in its own thread. But running small tasks in individual threads when they access the same data will slow things down.
PS: the explosion particle simulator runs in main thread but it can run elsewhere and doesn't need to run at full speed.
PS: the explosion particle simulator runs in main thread but it can run elsewhere and doesn't need to run at full speed.
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 34 guests