POP3 Locking up computer

  • Thread starter Thread starter news
  • Start date Start date
N

news

I have a couple of classes I use. They both work. The problem is if there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

I've put the pop3 reader in a background thread. I've made it lowest
priority. But when its downloading 40KBytes it locks everything up.

If I download messages it locks the app up too.

Its a Csharp Form based app. I have windows.form timers triggering the
threads (I tried Threading timers too).

They all do the same. When I download, nothing works.

I tried async reads, that didn't work. If you need to see the code let me
know.

Any ideas would be appreciatted.

Thanks,
Bill
 
news said:
I have a couple of classes I use. They both work. The problem is if there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

[...]
I tried async reads, that didn't work. If you need to see the code let me
know.

If you want serious help, you'll need to post a concise-but-complete
example of code.

That said, when the app "locks up" and you interrupt the application in
the debugger, where are your threads stopped? Applications don't just
stop for no reason; if they stop responding, they are stuck somewhere.
Your first step is to use the debugger and find out where your
application is stuck.

Pete
 
Try with your anti-virus disabled...



Peter Duniho said:
news said:
I have a couple of classes I use. They both work. The problem is if there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

[...]
I tried async reads, that didn't work. If you need to see the code let me
know.

If you want serious help, you'll need to post a concise-but-complete
example of code.

That said, when the app "locks up" and you interrupt the application in
the debugger, where are your threads stopped? Applications don't just
stop for no reason; if they stop responding, they are stuck somewhere.
Your first step is to use the debugger and find out where your
application is stuck.

Pete
 
some internet providers ( Comcast would be an example ) only allow one
session on an email account at a time.

TheSteph said:
Try with your anti-virus disabled...



Peter Duniho said:
news said:
I have a couple of classes I use. They both work. The problem is if there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

[...]
I tried async reads, that didn't work. If you need to see the code let me
know.

If you want serious help, you'll need to post a concise-but-complete
example of code.

That said, when the app "locks up" and you interrupt the application in
the debugger, where are your threads stopped? Applications don't just
stop for no reason; if they stop responding, they are stuck somewhere.
Your first step is to use the debugger and find out where your
application is stuck.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top