Ulrich,
Ulrich Hertlein wrote:
Hi Cory,
On 13/10/09 3:47 PM, Cory Riddell wrote:
As I understand it, basically every core has it's own cache. So, if some
data is shared between multiple threads, it may be loaded into multiple
caches all at once. If one thread makes a change, the value
J-S' advice is right on.
You also need to be careful about sharing data between threads.
Multithreaded programming is a minefield of difficult to diagnose
problems, most caused by locking order problems or data races. I'm still
learning about this stuff too and am starting to get some really good
Hi Cory,
On 13/10/09 3:47 PM, Cory Riddell wrote:
As I understand it, basically every core has it's own cache. So, if some
data is shared between multiple threads, it may be loaded into multiple
caches all at once. If one thread makes a change, the value cached by
the other core/thread is now
Hi,
Here I just need to implement a Timer for my animation control application ,
using the OpenThreads library.
But actually I have found that it is very hard to work on this multi-threads
programming for me, especially connected with OSG.
So, I just want to find any example programme, which
Hi Shiina,
So, I just want to find any example programme, which using the OpenThreads
library, and It could be very helpful for me.
Well technically, the whole of OSG is an example of OpenThreads... But
that might not be useful to you since it's a lot of code to look at.
Essentially, you
Hi, J-S
Thank you for your fantastic advice!
Cheers,
Shiina
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18209#18209
___
osg-users mailing list
osg-users@lists.openscenegraph.org
6 matches
Mail list logo