Skip to content Skip to sidebar Skip to footer
Showing posts with the label Thread Safety

Thread Safety When Iterating Through An Arraylist Using Foreach

I've got an ArrayList which is being instantiated and populated on the background thread (I use… Read more Thread Safety When Iterating Through An Arraylist Using Foreach

Are Android Handlers Thread Safe?

I am doing some refactoring into an Android project. I have stumble upon a strange piece of code th… Read more Are Android Handlers Thread Safe?

Is Java Thread Getid() Thread-safe?

As the question title says, is Thread.getId() thread-safe? I recently had a problem whilst multithr… Read more Is Java Thread Getid() Thread-safe?