...So if I lock/trylock/timedlock each resource that is shared before accessing it and unlock it afterwards, it's still not good enough?
Yes it is safe, but end up slow, because it serialize the parallel path execution if the shared resources are heavily accessed/used by both threads, because ...
Search found 4 matches
- Wed Jul 14, 2010 2:14 pm
- Forum: Beginners Help
- Topic: Ambient lighting
- Replies: 5
- Views: 976
If you want to do something like this:
http://www.youtube.com/watch?v=zK_MsOuKXzo
take a look here:
http://irrlicht.sourceforge.net/phpBB2/ ... 077#228077
http://www.youtube.com/watch?v=zK_MsOuKXzo
take a look here:
http://irrlicht.sourceforge.net/phpBB2/ ... 077#228077
- Wed Jul 14, 2010 2:13 pm
- Forum: Beginners Help
- Topic: Big problems with lights
- Replies: 6
- Views: 837
If you want to do something like this:
http://www.youtube.com/watch?v=zK_MsOuKXzo
take a look here:
http://irrlicht.sourceforge.net/phpBB2/ ... 077#228077
http://www.youtube.com/watch?v=zK_MsOuKXzo
take a look here:
http://irrlicht.sourceforge.net/phpBB2/ ... 077#228077
- Wed Jul 14, 2010 2:01 pm
- Forum: Code Snippets
- Topic: (C++) Directional lights
- Replies: 2
- Views: 8951
Thank you Nomad,
your informations have been usefull, i have found tricky to understand how to use it by simply read the docs provided the first time and the included samples show only how to use point lights, anyway if you agree i would like to add a sample code i have made myself to explain the ...
your informations have been usefull, i have found tricky to understand how to use it by simply read the docs provided the first time and the included samples show only how to use point lights, anyway if you agree i would like to add a sample code i have made myself to explain the ...