In order to allow a volume of work to be most effectively and safely divided into multiple concurrent streams of execution, a number of critical areas need to be addressed. scheduling - ensure worker tasks are able to progress independently and effectively (e.g. deadlock/livelock avoidance) ...
-4
votes
0answers
12 views
how to run multiple functions at a time with multithreading concept in vb.net
I have created a windows application in vb.net.and i have created a schedule which will run in a day and need to run 5 different functions at the same time.
Using multi threading concept how to i able ...
2
votes
3answers
82 views
How does Java run() method work?
Multi-threading in Java is done by defining run() and invoking start().
Start delegates to a native method that launches a thread through operating system routines and run() is invoked from within ...
0
votes
1answer
34 views
Reliable UDP implementation design issue
I have been working on a customization around UDP to make it reliable. I have this design problem which I realized only after my entire program was ready and I started sending packets from source to ...
0
votes
0answers
14 views
Python how do get the value a thread?
Program that determines whether changing the current directory using os.chdir in one thread changes the current directory for a thread that already existed before the call to os.chdir
My question is ...
0
votes
1answer
10 views
prctl(PR_SET_PDEATHSIG, SIGNAL) is called on parent thread exit, not parent process exit
I have a process that is forking to a child process. The child process should not exist if the parent process exists. So, I call ::prctl(PR_SET_PDEATHSIG, SIGKILL) in the child process to kill it if ...
3
votes
4answers
54 views
How a C# GUI class receive periodic updates from a worker class?
I am trying to separate my worker code from my GUI code into an entirely different class, but I want to be able to report back to my GUI for progress update and file output. For example, I want to ...
2
votes
2answers
61 views
Python threading deadlock
I have two threads (producer and consumer) and I share the data with Queue. The problem is, that when I forcefully abort the producer, the consumer sometimes locks.
I read in the docs that canceling ...
3
votes
2answers
89 views
Use of the Synchronized Keyword in Java
I have read some articles (including Oracle's) on synchronized methods, and I'm not sure if I understand it correctly.
I have the following code:
public class Player extends javax.swing.JLabel ...
3
votes
3answers
63 views
Running Program for 60 minutes and Each Thread uses Different ID
How do I make sure each thread is using different unique ID and that ID should be in between startExistingRange and endExistingRange. As I am worried because the program is supposed to run for 60 ...
0
votes
1answer
19 views
Multithreading in Teamcenter ITK
I am trying to write a Teamcenter ITK (c based) program that will run as a different thread invoked from a main thread. The main thread is invoked from an action on the UI. Since the child thread ...
-1
votes
3answers
79 views
Issues with Thread in C#
I have written the code for Server/Client program in C#. Without using the Thread, it is working fine. If I use Thread, I am getting following error message.
The thread '' (0x9a8) has exited with ...
0
votes
3answers
57 views
Why it is bad practice to create a new thread on constructors? [closed]
Possible Duplicate:
Java: Why not to start a thread in the constructor? How to terminate?
I'm used to run FindBugs on my code in order to find bugs or bad practice.
Today it complains on ...
0
votes
2answers
25 views
Do apartments “live” on the server side or on the client side in a out-process environment?
I' having an hard time trying to understand COM apartments in outprocess environment.
Basically I can't understand why the client is required to call CoInitializeEx to register it's own thread in an ...
1
vote
2answers
38 views
Stress test service endpoint, send 100K requests using x threads
I want to stress test my service endpoint, making http POST requests.
I want the solution to be able to either:
Make a certain number of requests, like 100K
Keep running for x number of minutes
...
0
votes
3answers
41 views
Kernel-level thread modify .text area?
I don't really understand the difference between the user-level threads and kernel-level threads. This is what i know so far:
Kernel-level threads
Advantages:
if we have multiple processors/cores ...