The thread tag has no wiki summary.
-1
votes
0answers
54 views
How to disable java RMI Threads? [closed]
I traced java vm and see in all java application, there is at least 5 active threads are about RMI.
I want to disable RMI. how can i disable it?
RMI TCP Connection(2)
RMI TCP Connection(1)
RMI TCP ...
20
votes
3answers
1k views
Is GCC dying without threads support on Windows?
I need some opinion. GCC was always a very good compiler, but recently it is losing "appeal".
I have just found that on Windows GCC does not have std::thread support, forcing Windows users to use ...
13
votes
1answer
501 views
Best practise is not to poll…but isn't polling happening internally anyway when a thread calls wait()?
Say we have some thread that wants to check when another thread is finished its task. I have read that we should call a wait() type function that will make this thread wait until it receives a ...
4
votes
2answers
181 views
Allow threads (in c) to print messages without interfering with user input
I'm a writing a small webserver for personal use in c (not c++). I want to allow user input in the console like "shutdown server" or "restart server".
In order to allow this kind of input the server ...
0
votes
1answer
163 views
What makes a series of machine instructions an actual process/thread in memory?
Every instruction comes from main memory/RAM.
In a bootloader, at least on Intel and IBM PC firmware and designations, you
have BIOS jump to a memory address to begin fetching instructions for ...
0
votes
2answers
134 views
How bad would it be to obtain a lock on every object?
Imagine a hypothetical programming environment that is largely like Java or .NET, i.e. object-oriented, garbage-collected, etc., but with one small change:
Every time you call a method on an object, ...
-1
votes
2answers
409 views
Should I use simple socket programming to communicate between 2 threads? [closed]
Is it a good idea to communicate between 2 threads using sockets in Java?
What I am trying to achieve is Inter-process communication using socket programming/RPC mechanism.
1
vote
3answers
163 views
Inter-process and inter-thread data sharing [closed]
I know that operating systems facilitate inter-process and inter-thread data sharing. I want to know about the mechanisms used to facilitate such sharing. I read about "pipes". What are the other ...
6
votes
3answers
469 views
What is a thread pool?
In an interview question a guy was asked to "implement a threadpool"... I've been reading on wikipedia for "threadpool" but I still can't figure out what should a guy do to solve this question ...
2
votes
2answers
182 views
What is the difference of delegator and dispatcher?
What is the difference of delegator and dispatcher?
I am not quite sure of either concept.
-1
votes
1answer
341 views
What happens at control invoke function?
A question about form controls invoke function.
Control1 is created on thread1.
If you want to update something in Control1 from thread2
you must do something like:
delegate void ...
1
vote
3answers
280 views
Algorithm for appointment reminders
My program allows users to store appointments in a calendar. What has been requested of me is the ability for SMS reminders to be sent to people to remind them of their appointment. The SMS would ...
1
vote
2answers
376 views
google maps based desktop application
I want to build a desktop application which has google maps embedded to it. This app should have a thread to read coordinate data online a usb microphone to use. This application will move the google ...
3
votes
1answer
227 views
Is a readonly field in VB.NET thread safe?
Is a readonly field in VB.NET thread safe? For example, see the code below:
Class Customer
ReadOnly Name As String
ReadOnly ZIP As Integer = 98112
Sub New(ByVal Name As String)
Me.Name = ...
6
votes
5answers
1k views
Do threads use virtual memory or real memory?
I was trying to optimize my Linux server to handle 10,000 threads per process while it does just 382 right now. As per this article the following formula is used to find out total possible threads:
...
0
votes
2answers
613 views
When should we use opaque objects? [closed]
The concept of opaque objects pervades the design of the Pthreads API. What was the rationale behind this design decision of using opaque objects.
10
votes
1answer
193 views
Drawing thread interaction
I'd like to draw (pen and pencils) threads interaction in a UML(-like) notation. I don't insist on UML, anything that is obvious to the reader should do.
I started with sequence diagrams, but I don't ...