I have unexpected assertions faillures in my code using a checked STL implentation. After some research, I narrowed down the problem to a push_back in a vector called from a different thread than th
Im working on a socket program in Java. Im running a GUI with a socket server in the background. The socket server is running a thread that checks for socket messages every 10ms.
EDIT3: It spawns in a new thread each time it is needed, \"input\" is a copy of a char* which is freed inside it. Assume cURL functions are thread safe.
Lets say we have these 2 sample code : public synchronized void getSomething(){ this.hello = \"hello World\";
I am unable to run a windows application in Visual Studio 2008. Program has been working fine until I started getting an error in the Output Window - \"
I have a collection which guaranteed to be visible across threads. However that doesn\'t guarantee visibility of states of items which are stored in this collection(eg. if I have collection ofStringBu
I heard it\'s thread unsafe to do \"global_variable += individual_thread_data\"; for example [without locks].
I have to print many formatted decimal values in many threads in parallel. To format the decimal values I use a java.text.DecimalFormat configured by a pattern.
I have some code which must be thread safe whose behavior resembles this: protected long m_RunningValue
On the MSDN page for the Membership.ApplicationName property (which applies to an asp.net membership provider), it warns that although one can change Membership.ApplicationName in code, \'The Applicat