In my app, I read/parse data that takes some time. While that process is going on I want to display a message on screen indicating the process going on. I beileve I got to use Thread for it, but don\'
i have problem inthis code in the comment area \"hang the form\" my program will hang there!!!! what is problem??
Okay, i have this question in one regarding threads. there are two unsynchronized threads running simultaneously and using a global resource \"int num\"
I have a class teleport by using RMI.But I am not sure those thread-safe object can be serialized.Does anyone tried before?
I have this piece of code in my application. I suspect that it is not thread-safe, so decide to ask the SOers.
I\'ve a small question I\'ve a WPF application, and one method takes some times(it send informations through WCF services). I would like to do this in another thread than the GUI thread.
I have a Win32 application that consists of two components: A main window that acts as the app\'s interface and a secondary modeless dialog that functions as a console. The applicati开发者_StackOverfl
This question already has answers here: Closed 12 years ago. Possible D开发者_运维知识库uplicate:
I\'ve seen some code that puts a lock around the following code: if (!CurrentSessionContext.HasBind(sessionFactory))
If I have the following declaration: Map<String, Map<String, Person>> families = Collections.synchronizedMap(new HashMap<String, Map<String, Person>>());