serializing/deserializing a thread
I have a class
class Aimplements Serializable,Runnable
and i create some objects out of it.
First of all, does it matter whether i serialize them and write them to a file, while the threads are running?
When i deserialize them, are they in the running state?
Thanks
[369 byte] By [
uiga] at [2007-11-27 4:01:46]

# 1
> First of all, does it matter whether i serialize them> and write them to a file, while the threads are> running?Depends on whether the operation makes any sense.> When i deserialize them, are they in the running state?No.
ejpa at 2007-7-12 9:06:31 >

# 3
public class A implements Serializable, Runnable
is not a Thread
this is a Thread:
public class A extends Thread
what does your code sample look like?