You need to see how much you can get out of it to know what the limits are. I can agree with him there. But I think his threading model may be letting him down. But there would be two problems here. Firstly, you can proably only render with one thread, so it is possible that threads will starve. Secondly, the mutexing itself.
If you cannot get to 100% on all CPUs, then is it a sceduling problem, you are running single-threaded from time to time, or you are in mutex hell.
I knew a guy who ran basic chess on his laptop. I tried to give him a real chess game, but he complained that the fan came on. Look, sometimes the fan has to run!
NEED HELP: BOOST THREAD
-
Dareltibus
- Posts: 115
- Joined: Mon May 17, 2010 7:42 am
Welcome to the internet...Dareltibus wrote:as always appens when you ask for help every one will tell its opinion without helping really..
However this attitude is great... "No I don't want to hear any other way. I KNOW that my way IS the best and all other methods just suck because they do things in a different way".
You won't come very far with this
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
-
Dareltibus
- Posts: 115
- Joined: Mon May 17, 2010 7:42 am
I think Sylence was referring to you, not to others.. (not sure eh?
)
I have a build target for windows for the boost thread. But i'm not sure that this will compile also for linux. I tested 5 different threading libraries for my framework (take a look to the next release: IrrSolid 0.2. And i will not use boost.thread. since adding it to my project increase the executable size by 1 MB). Anyway i worked a day for got it working. boost.build is much better but you must follow the step by step tutorial and if it is not working you must write to the boost.thread mainteiner and wait for a response.
If you are interested in my build target i want back something of your work. (there are no working example about that so at least i want to see an executable that is using multythreading.). This sounds like a good deal... please don't answere there. send me a PM.
I have a build target for windows for the boost thread. But i'm not sure that this will compile also for linux. I tested 5 different threading libraries for my framework (take a look to the next release: IrrSolid 0.2. And i will not use boost.thread. since adding it to my project increase the executable size by 1 MB). Anyway i worked a day for got it working. boost.build is much better but you must follow the step by step tutorial and if it is not working you must write to the boost.thread mainteiner and wait for a response.
If you are interested in my build target i want back something of your work. (there are no working example about that so at least i want to see an executable that is using multythreading.). This sounds like a good deal... please don't answere there. send me a PM.
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me