No announcements
Found 2913442 threads
-
0 Votes
C# : Find the thread ID of all the threads spawned by the main thread.
I have a scenario where the main thread spawns a thread (Thread A). This thread then spawns another thread ...Answered | 4 Replies | 3207 Views | Created by Ashima1994 - Tuesday, June 4, 2013 12:49 PM | Last reply by CoolDadTx - Tuesday, June 4, 2013 1:30 PM -
0 Votes
Monitoring the threads spawned by Task Factory
need to monitor the no of threads spawned by the task factory and identify the time taken to complete each task. And I should ...Answered | 3 Replies | 3323 Views | Created by sathyaincampus - Friday, April 20, 2012 2:31 AM | Last reply by Michael Sun [MSFT] - Friday, April 27, 2012 1:49 AM -
1 Votes
How to kill the spacific running Thread by thread id
Hi , I have Thread id so how can i kill the spacific thread all running Thread in asp.net & ...Answered | 4 Replies | 6264 Views | Created by ashis01 - Wednesday, November 28, 2012 10:24 AM | Last reply by servy42 - Wednesday, November 28, 2012 4:15 PM -
1 Votes
Getting the thread ID
AfxBeginThread() returns a (CWinThread *), so you can access CWinThread::m_nThreadID to get the thread id. To use the ...Answered | 4 Replies | 7808 Views | Created by HyperGamer - Monday, June 22, 2009 10:48 PM | Last reply by HyperGamer - Tuesday, June 23, 2009 1:45 PM -
0 Votes
Thread ID for the thread that owns the endpoint?
would be easy enough to further separate my state information by the "Thread ID" shown in TraceView if I knew where to find that ...Answered | 1 Replies | 2667 Views | Created by jmetzner - Friday, December 28, 2012 7:00 PM | Last reply by Dusty Harper [MSFT] - Saturday, December 29, 2012 2:28 AM -
0 Votes
Spawned thread problem
believe it happens when the "main" thread leaves the WCF scope. Am I right? If I am, why the main thread does not ...Unanswered | 3 Replies | 755 Views | Created by Renziglov - Tuesday, October 14, 2014 1:10 PM | Last reply by Renziglov - Wednesday, October 15, 2014 3:06 PM -
0 Votes
Thread not return managment to the main thread.
Your main thread is probably blocked. The critical section jumps to mind as a possible reason. Debug + Windows + Threads, double-click the ...Answered | 2 Replies | 2648 Views | Created by volynsky - Thursday, July 10, 2008 10:10 AM | Last reply by volynsky - Thursday, July 10, 2008 12:26 PM -
0 Votes
Redirect standard output of a spawned thread
Hi all, I'm creating a thread in my program that outputs console messages. I want to be able to collect this output in my main thread instead of in ...Answered | 2 Replies | 4840 Views | Created by jrobinson3k1 - Thursday, March 19, 2009 6:49 PM | Last reply by Stephen Cleary - Monday, March 23, 2009 1:27 PM -
2 Votes
Determin if current thread is the main thread
If you have access to a form or control you can test against InvokeRequired. If this returns true you are not in the main gui thread for that form or ...Answered | 2 Replies | 3577 Views | Created by Anders - Sweden - Friday, June 27, 2008 8:38 AM | Last reply by Jonathan Sawyer - Friday, June 27, 2008 11:56 AM -
0 Votes
the child thread blocks the parent thread.
"the child thread blocks the parent thread" I do not see any threads in your post.David Wilkinson | Visual C++ MVPAnswered | 2 Replies | 3452 Views | Created by cutedevil - Tuesday, April 14, 2009 6:04 AM | Last reply by davewilk - Tuesday, April 14, 2009 11:28 AM -
0 Votes
Suspend a thread by thread id
Hi, Thanks for all your response first. What I want just suspend a thread by the thread id. I have no a ...Answered | 4 Replies | 542 Views | Created by LearnMore123 - Wednesday, December 3, 2014 4:30 AM | Last reply by Bill Chung - Thursday, December 4, 2014 7:59 AM -
5 Votes
[C#]Thread message when all threads finished
(); } So my threads are doing some work in background... but I need some kind of MessageBox when all threads stops ...Proposed | 12 Replies | 9209 Views | Created by globus25 - Wednesday, September 28, 2011 4:31 PM | Last reply by globus25 - Tuesday, October 4, 2011 3:33 PM -
0 Votes
Invoking operations on the main ui thread?
In my opinion, you could try to wrap all the actions into a service, and then call to this service from the background thread by the way ...Unanswered | 12 Replies | 7436 Views | Created by MatsNilsson - Monday, March 15, 2010 11:49 PM | Last reply by Constantin Boscenco - Monday, July 5, 2010 9:34 PM -
0 Votes
Get the process ID by a thread ID?
option would be to use the ToolHelp library and find your thread ID by using Thread32First/Answered | 4 Replies | 14433 Views | Created by Simon Zhang - Tuesday, May 18, 2010 3:44 PM | Last reply by Simon Zhang - Tuesday, May 18, 2010 5:13 PM -
2 Votes
How to get main thread id?
Pass the main thread id as a parameter to the background thread or store the id in a variable that is accessible to both ...Answered | 3 Replies | 9690 Views | Created by benny.ren.2.0 - Tuesday, February 24, 2009 3:50 AM | Last reply by nobugz - Tuesday, March 3, 2009 4:11 AM -
0 Votes
CAsynchSocket in the main GUI thread?
thread (the object is an attribute of the Main Window) everything is going well but if I put it as an attribute of an another object than ... -
3 Votes
Forcing Scheduling on the Main Thread
Well I have more news on this one, looks like the culprit of the Thread jumping was caused by a reentrancy call into my code. It plays out like ...Answered | 5 Replies | 6425 Views | Created by Federico Lois - Monday, March 29, 2010 3:52 PM | Last reply by head.in.the.box - Tuesday, March 30, 2010 6:42 PM -
3 Votes
Running all threads not on the GUI thread
'InvokeRequired required compares the thread ID of the calling thread to the thread ID of the ...Answered | 10 Replies | 1920 Views | Created by McInnes01 - Wednesday, December 7, 2011 9:58 AM | Last reply by McInnes01 - Wednesday, January 11, 2012 5:27 PM -
0 Votes
Splash screen thread returning values to the main thread?
cross threading issues" I was doing that earlier, had to change it to what you see in the code because sometimes the dialog box which was then being shown by ...Answered | 5 Replies | 2734 Views | Created by Abhijeet K - Tuesday, June 9, 2009 1:25 PM | Last reply by Abhijeet K - Thursday, June 11, 2009 6:39 AM -
0 Votes
Forwarding events to the main thread
One idea would be to have a Queue, the two "worker" threads can add things to the back of the queue, the main thread ...Answered | 7 Replies | 3289 Views | Created by nisbus - Tuesday, July 22, 2008 11:57 AM | Last reply by nobugz - Tuesday, July 22, 2008 3:52 PM - Items 1 to 20 of 2913442 Next ›
No announcements