Timeline for Multi-threaded game loop
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 30, 2017 at 2:01 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 130 characters in body; edited title
|
| Feb 11, 2014 at 15:29 | vote | accept | const_ref | ||
| Dec 14, 2012 at 17:55 | answer | added | Loki Astari | timeline score: 8 | |
| Nov 20, 2012 at 14:03 | comment | added | const_ref | Compiles and runs using Visual Studio 2012 for me. What compiler are you using? | |
| Nov 20, 2012 at 13:49 | comment | added | Loki Astari |
When I compile and run this I get an exception terminate called after throwing an instance of 'std::system_error' what(): Operation not permitted
|
|
| Nov 20, 2012 at 8:54 | comment | added | const_ref | @Jeff Mercardo You may very well be right, like I said I have little to no experience with multithreaded programs, but most examples I have seen only used one mutex, but that may be down to the fact most were only reader/writer programs. Having two mutexs would probably be more beneficial but how would that ensure thread safety? | |
| Nov 20, 2012 at 5:51 | comment | added | Jeff Mercado | Maybe I'm misunderstanding what's going on in your code but what's the point in having multiple threads if you're just going to have them wait on the same mutex? You've essentially made it single threaded since the threads can only execute sequentially. Right? | |
| Nov 19, 2012 at 22:39 | review | First posts | |||
| Nov 19, 2012 at 22:43 | |||||
| Nov 19, 2012 at 22:19 | history | asked | const_ref | CC BY-SA 3.0 |