|
| 30 May 2014 06:26 PM |
Let's say I have a coroutine that is continually adding to a value. Now I've added another coroutine that is also continually adding to the same value. Will this be a race condition, or does Lua automatically deal with it? I've done a couple tests and they've led me to believe that Lua does it automatically, but I want to know for sure.
-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::] |
|
|
| Report Abuse |
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 30 May 2014 06:27 PM |
| Pretty sure Lua does it for you. |
|
|
| Report Abuse |
|
|
| 30 May 2014 07:33 PM |
Anyone else wanna give their input?
-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::] |
|
|
| Report Abuse |
|