A piece of code is thread-safe if it only manipulates data structures in a way that allows consistent execution of this code by multiple threads.
After watching Herb Sutter's talk You Don't Know const and mutable, I wonder whether I should always define a mutex …
c++ c++11 thread-safety constants mutableI have been spending some time in debugging a programme which gives segmentation fault. The bug is quite indeterministic and …
c linux thread-safety strtokI am trying to create a dialog from a non-UI thread, in onUtteranceCompleted(): runOnUiThread( new Thread(new Runnable() { public void …
android dialog thread-safety runnable ui-threadFor a while at my company we've used a home-grown ObjectPool<T> implementation that provides blocking access to …
.net collections thread-safety blocking objectpoolIn C++11 there are a bunch of new Random number generator engines and distribution functions. Are they thread safe? If …
c++ thread-safety c++11 openmp grand-central-dispatchAre client stubs generated from WSDL by Axis2 thread-safe? Of course, "thread-safe" isn't necessary a rigorously defined term, so I'm …
java web-services multithreading thread-safety axis2After reading this - What does 'synchronized' mean? I was still unable to understand why StringBuffer would be slower than …
java synchronization thread-safety stringbuilder stringbufferIn the project I am coding, I need to return a thread safe and immutable view from a function. However, …
java list thread-safety synchronized unmodifiableI need to stop user making multiple clicks on a JButton while the first click still execute. I was able …
java swing thread-safety jbuttonI have been hacking with Ruby from time to time, but I haven't done anything big or multithreaded with it. …
ruby-on-rails ruby multithreading thread-safety jvm-languages