RE: [DUG]: Threads calling object methods

2001-03-19 Thread Sergei Stenkov
> question about threads: > is it safe to call an object method from a thread, as long as the > object method only contains local variables(not object variables) and > thread-safe calls? It's safe if you do not change other object properties/attributes in that method. Otherwise you may have to sy

[DUG]: Threads calling object methods

2001-03-19 Thread Ben Taylor
hi! question about threads: is it safe to call an object method from a thread, as long as the object method only contains local variables(not object variables) and thread-safe calls? i assume each thread gets its own copy of the local vars of the method... what i have done does work, im just tr