01-25-2016, 08:20 AM
(This post was last modified: 01-25-2016, 09:49 AM by Wire. Edited 1 time in total.
Edit Reason: Fixing quote tags
)
(01-24-2016, 10:13 AM)ErikHanson Wrote: Some of you may know that BYOND itself is a single threaded language/engine, that means only one piece of code is being executed at a time If this were not true, you would have to worry a lot more about potential problems in your code. For example, if a spawned block of code like the one in the previous example deletes objects from the world, it could cause trouble if code elsewhere were simultaneously using those objects. If the code attempted to access variables or procedures of deleted objects, it would crash, possibly leaving some important operation half finished.
this is gonna be a harsh comment directed at byond devs : seriously fuckin semaphores been around for forever, why is multithreading such a problem argh