roxen.lists.pike.general
Subject | Author | Date |
---|---|---|
thread and lambda | Mirar @ Pike importmöte för m <6341[at]lyskom[dot]lysator[dot]liu[dot]se> | 22-03-2009 |
Why is non-locked variables a problem? It seems to me it will only be a problem if several threads are going to write to the same variables in a non-atomic way. In your examples, the threads will only read the variables, and thus there isn't any problem or need for lock. Do you have a real-world example of a problem? |