Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Detect USB Pendrive Pin
Rajesh R Subramanian21-Sep-09 9:02
professionalRajesh R Subramanian21-Sep-09 9:02 
GeneralRe: Detect USB Pendrive Pin
Iain Clarke, Warrior Programmer21-Sep-09 9:16
Iain Clarke, Warrior Programmer21-Sep-09 9:16 
JokeRe: Detect USB Pendrive Pin
Moak24-Sep-09 5:01
Moak24-Sep-09 5:01 
QuestionThread pool query Pin
Rajesh R Subramanian21-Sep-09 3:14
professionalRajesh R Subramanian21-Sep-09 3:14 
AnswerRe: Thread pool query Pin
Naveen21-Sep-09 4:04
Naveen21-Sep-09 4:04 
GeneralRe: Thread pool query Pin
Rajesh R Subramanian21-Sep-09 4:42
professionalRajesh R Subramanian21-Sep-09 4:42 
GeneralRe: Thread pool query Pin
Naveen21-Sep-09 7:10
Naveen21-Sep-09 7:10 
GeneralRe: Thread pool query Pin
Rajesh R Subramanian21-Sep-09 7:48
professionalRajesh R Subramanian21-Sep-09 7:48 
Naveen wrote:
ya. I thought if the module is small, you know the count of other threads.


No, this is a fairly large project (even though the module that uses thread pools is relatively small). But of course yes, I can do my little test with a smaller dummy project. Smile | :)

Naveen wrote:
BTW where is the option to find out the thread pool's thread count in process explorer?


There's no direct option as such, but the no. of threads that we create manually (as opposed to being managed by a pool managing algorithm driven by the OS), we have a count of it. Add 1 to it (the application's main thread). Now, we can subtract this number from the number of threads shown by process explorer for our process.

I was thinking of exploiting two things as well:

1. Entry point of the thread (like you said)
2. Do some experimenting with TLS (TLS won't work "properly" with pools, because any thread might execute the thread code, but TLS is guaranteed to be unique for a given thread).

I'll notify you if I post a reply here. But, I need to get some sleep now. I've had a long day. Smile | :)


It is a crappy thing, but it's life -^ Carlo Pallini

QuestionCell change event in Excel Pin
NarVish21-Sep-09 0:35
NarVish21-Sep-09 0:35 
AnswerRe: Cell change event in Excel Pin
Stuart Dootson21-Sep-09 2:35
professionalStuart Dootson21-Sep-09 2:35 
GeneralRe: Cell change event in Excel Pin
NarVish21-Sep-09 20:31
NarVish21-Sep-09 20:31 
GeneralRe: Cell change event in Excel Pin
NarVish23-Sep-09 23:26
NarVish23-Sep-09 23:26 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson24-Sep-09 5:57
professionalStuart Dootson24-Sep-09 5:57 
GeneralRe: Cell change event in Excel Pin
NarVish24-Sep-09 19:32
NarVish24-Sep-09 19:32 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson24-Sep-09 20:11
professionalStuart Dootson24-Sep-09 20:11 
GeneralRe: Cell change event in Excel Pin
NarVish24-Sep-09 21:26
NarVish24-Sep-09 21:26 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson25-Sep-09 4:03
professionalStuart Dootson25-Sep-09 4:03 
GeneralRe: Cell change event in Excel Pin
NarVish29-Sep-09 19:45
NarVish29-Sep-09 19:45 
GeneralRe: Cell change event in Excel Pin
NarVish30-Sep-09 18:29
NarVish30-Sep-09 18:29 
GeneralRe: Cell change event in Excel Pin
NarVish15-Oct-09 1:38
NarVish15-Oct-09 1:38 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson15-Oct-09 2:26
professionalStuart Dootson15-Oct-09 2:26 
GeneralRe: Cell change event in Excel Pin
NarVish15-Oct-09 2:43
NarVish15-Oct-09 2:43 
GeneralRe: Cell change event in Excel Pin
NarVish15-Oct-09 19:29
NarVish15-Oct-09 19:29 
GeneralRe: Cell change event in Excel Pin
NarVish18-Oct-09 22:13
NarVish18-Oct-09 22:13 
GeneralRe: Cell change event in Excel Pin
Stuart Dootson19-Oct-09 0:25
professionalStuart Dootson19-Oct-09 0:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.