Multithread programming

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Shedon
Posts: 5
Joined: Wed Apr 19, 2006 7:59 am
Location: Russia, Nizhny Novgorod

Multithread programming

Post by Shedon »

Hi, i had try to load a textures in 2nd thread while render process, but it failed, after texture loaded i have see the white screen without my textures, why?
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

unfortunatley, irrlicht is not thread-safe
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Shedon
Posts: 5
Joined: Wed Apr 19, 2006 7:59 am
Location: Russia, Nizhny Novgorod

Post by Shedon »

irrlicht is not thread-safe
But, i had realized the synchronization between these two threads.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I also thought that texture loading might not interfere, but Irrlicht has an internal texture buffer which uses an ordered list. Thus, loading a new texture will trash the pointers into this list and might raise render problems.
Post Reply