Arch
                                
                                
                                
                                    Arch copied to clipboard
                            
                            
                            
                        Fix thread-safety problem in World.WordSize
I found that World.WorldSize can have unintended value when create and destroy World multi-threaded. Simply use Interlocked methods to solve this problem.
Also unit test added: MultiThreadTest.MultiThreadedCreateAndDestroy
Sometimes test failed before fix.