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 (8)

0
votes
0answers
17 views

Dispatcher.Invoke() not invokes specified delegate

Method MethodForThread() works in a different thread and at the end he has to call back method AsyncCallbackMethod() in the thread in which was called the method MethodForThread(). I do it with class ...
0
votes
1answer
27 views

what will happen when a thread T1 joins thread T2 and T2 gets interupted

I have a scenario where thread T1 joins thread T2. what will happen when thread T2 gets interrupted. whether T1 will proceed or T1 will also gets interrupted.
0
votes
0answers
6 views

Use Instance of Object called via CLI in Web-environment

I'm developing a scheduler class which is used to fetch data from some connected devices in defined cycles. Since I'm starting the scheduler via PHP CLI (the scheduler is designed for infinite ...
0
votes
1answer
11 views

How does TimerTask on Android manages threads?

I was wondering how the TimerTask is working with threads. For example, I've got a code that executes a TimerTask, which has a 'run' method which will run on the UI Thread. class looper extends ...
-2
votes
0answers
7 views

How to write data to Excel with multithread in by vc++

An unhandled exception disappears when the ceate Excel applitation in thread. who can help me?
2
votes
1answer
13 views

Conceptual: solving maze with multithreading

There are many many maze solving algorithm out there. But just now I came across a description of a quantum computer that states A quantum computer can try all the paths of a binary maze at one ...
0
votes
2answers
31 views

How to know debug/profile hanged C# application in the given situation

I have mulch-threaded program (console application) written in C# It runs fine up to 6 -10 hours later it fails and stops , console does not closes and shows the last successful log Error logs (all ...
1
vote
2answers
29 views

OS X Java maximum threads per process

Running this code for (int i = 0; i < 4000; i++) { new Thread(new Runnable() { @Override public void run() { try { ...
0
votes
0answers
8 views

java.util.concurrent.RejectedExecutionException: null during camel route shutdown

I have a camel route which I am trying to shutdown in case I encounter a java.net.ConnectException. In my shutdown strategy, I am removing the keys that I had added in the context properties during ...
0
votes
0answers
19 views

IOS - Thread sleep for long periods of time

In my app I have a calender with events. These events may last for 1hour or more, and I need to give the app the definition of "current event". What is the best approach for this? I'm thinking maybe ...
0
votes
0answers
12 views

c++ threads wont call outside of main thread

I've been working on a big project all day long to find out the most important part of it is rather usles. I've tried everything to work around it. I'll post a code example below to kind of show ...
-1
votes
1answer
19 views

iOS correct use of multithreading

I would like to know how to use multithreading in iOS. I am aware of GCD and NSOperationQueue, but I am not sure how to use them properly. When should I use GCD/NSOperationQueue? How do I cancel a ...
0
votes
0answers
16 views

Handlers and multiple Activities

Ok, I am new to android, I'm trying to create an app that interfaces with an arduino via bluetooth. I've seen the sample BluetoothChat and seen how it's using an Handler to communicate between the ...
1
vote
1answer
16 views

Is it safe to add to a collection (mutable NSArray/NSDictionary) inside enumerateObjectWithBlock?

Is this code safe to execute? That is, is it safe to add to a NSMutableArray or NSMutableDictionary concurrently? - (NSArray *)batchProcess:(NSArray *)inputList { NSMutableArray *outputList = ...
0
votes
1answer
87 views

i get thread sleep error in C++11 threading

I created a thread using C++11 thread class and I want the thread to sleep in a loop. When the this_thread::sleep_for() function is called, I get exception saying: Run-Time Check Failure #2 - ...

1 2 3 4 5 2554
15 30 50 per page