P
Phil
I have two threads that access an ArrayList.
One thread will store new entries. The other thread will retrieve the
entries and then remove them from the list. Is this a thread-safe operation
or do I need to use the Synchronization system?
Thanks,
Phil
One thread will store new entries. The other thread will retrieve the
entries and then remove them from the list. Is this a thread-safe operation
or do I need to use the Synchronization system?
Thanks,
Phil