Multithreading is how work performed by a computer can be divided into multiple concurrent streams of execution (generally referred to as threads).

learn more… | top users | synonyms (7)

0
votes
0answers
5 views

Thread is not getting Destroyed C++

I am working on a Multithreaded system here's my code class demo is defined in .h file when the loop from the main function is executed second time the COMMENT1 below takes the previous value ...
0
votes
1answer
17 views

When you close a GUI with the little X

Quick question on Java GUI: If you close a GUI using the the little X in the top right of the form, does that kill all your threads as well. if not how to you catch that event so i can put in some ...
0
votes
0answers
7 views

How to update a JApplet GUI within a thread?

I'm having problens in updating a JLabel inside a JApplet. I'm using SwingUtils.invokeLater but it doest not working when Applet is inside browser. When I test it on NetBeans Applet Viewer it works ...
0
votes
1answer
8 views

Block until a task finished in onAnimationEnd

I have a login activity which has an animation displaying the logo picture, and the login process is running in the background during the animation running. I want to wait until both the animation and ...
0
votes
2answers
15 views

Android: Thread still Running forever although the Service already destroy

I have try build a android application that use a thread inside a service, the service and the thread run with well, but when i stop and destroy the service, the thread still live, so when i run again ...
0
votes
0answers
4 views

Is the lock necessary when a host attempts to receive the data from different sockets

I have three machines A, B, and C that are all connected each other. If A and B try to send data to C simultaneously, Can C use two different threads to receive the respective data without using any ...
0
votes
0answers
11 views

Passing messages to Java sockets with multi-threading

I'm developing a socket server which can handle multiple clients at the same time. There are 2 listeners in my design so each listener is running in a different thread. My skeleton code is something ...
1
vote
1answer
12 views

Aggregating data sets in PHP for maximum performance

We have a high transaction PHP site which performs well overall, however the weak link is slow search results. The reason being we aggregate data from numerous sources. For example: User hits ...
1
vote
1answer
19 views

wait4 do not block parent thread

I have two following source files loop.c which executable name is loop int main() { while(true); return 0; } and run.c which executable name is run int main() { pid_t child_pid = ...
0
votes
0answers
20 views

Perl Thread Child Process Stealing STDOUT from main thread

I have a child process that is stealing the STDOUT connection in FastCGI (via Nginx). A client uploads a file via http to my webserver, then the webserver decrypts the data stream via bash command, ...
1
vote
2answers
21 views

ScheduledThreadPoolExecutor.remove : Is it safe to use

i am trying to schedule bunch of tasks to execute periodically. under certain situations some task need to be stopped from scheduling, so i remove them from the interal queue of threadPoolExecutor. I ...
0
votes
1answer
23 views

Task.Factory.StartNew<TResult> (Func<Object, TResult>, object state) build error

when I compile the code I get this error, I couldn't figure out why mcs looks for the wrong function overload, I'm using mono as latest of current active development version from git, I checked the ...
1
vote
1answer
34 views

My c program is multi-threading by default or stdout reordering my print statements?

I am running into a weird issue. I wrote a simple c program (two source files, relevant sections shown below). When I run the program (a.c has the main function), I get the output (since the number of ...
0
votes
0answers
3 views

using zmq PUSH socket per producer thread vs dedicated zmq thread for all threaded producers

It's explicitly stated in the ZeroMQ guide that sockets must not be shared between threads. In case of multiple threaded producers who need to PUSH their output via zmq, I see two possible design ...
0
votes
1answer
39 views

Thread synchronizing using Tasks and Parallel APIs

I am pasting 4 code snippets, where Parallelization is attempted using the following APIs: Parallel.ForEach Parallel.Invoke Task.Run Task.Factory.StartNew Problem attempts to parallelize such that ...

1 2 3 4 5 2630
15 30 50 per page