Insider1984
Technical User
Hi, I have a standard .Net 2.0 queue on one thread that is being populated by another thread. We are in 64-bit and have 4 cores total.
We also have a mutex controlling access to the queue
Unfortunately when I break point in the queue's thread, I can watch the queue's count drop.
1. Shouldn't all my threads be stopped when I breakpoint? And even if so, wouldn't the queue only be increasing?
2. Any thoughts if the garbage collector is coming into play here?
3. Does multiple cores (CPU's) play into this at all?
=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET
We also have a mutex controlling access to the queue
Unfortunately when I break point in the queue's thread, I can watch the queue's count drop.
1. Shouldn't all my threads be stopped when I breakpoint? And even if so, wouldn't the queue only be increasing?
2. Any thoughts if the garbage collector is coming into play here?
3. Does multiple cores (CPU's) play into this at all?
=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET