Thread safety and with-slots
Let's say I have a variable X in a class that is accessed from multiple threads (written and read). I have a lock in the class as well. I'd like to know if this is safe...(with-slots (x lock)
my-object
(with-lock (lock)
(setf x 10)))
Or does the with-lock have to encompass the with-slots?
Jeff M.