Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages
Started by Daniel
Fri, 01 Dec 2006 16:11
Multithread problem (Only one can live)
Author: Daniel
Date: Fri, 01 Dec 2006 16:11
Date: Fri, 01 Dec 2006 16:11
11 lines
1226 bytes
1226 bytes
Hello,
I have a multithread class TPull (class TPull : public TThread).
This thread will create a new TClientSocket instance and pull data from
websites.
My application will make 3 different instances of class TPull, but
after the program running a while, there is only 1 instance left, rest 2
just never show up again. I check all websites, they are all good.
Can anyone help me out?
Thanks
Daniel
Re: Multithread problem (Only one can live)
Author: Remy Lebeau (TeamB)
Date: Fri, 01 Dec 2006 17:55
Date: Fri, 01 Dec 2006 17:55
12 lines
1297 bytes
1297 bytes
"Daniel" <mzeng@eesensors.com> wrote in message news:457054ad$1@newsgroups.borland.com... > My application will make 3 different instances of class TPull, but > after the program running a while, there is only 1 instance left, rest 2 > just never show up again. I check all websites, they are all good. You probably crashed your threads so they terminated prematurely. Gambit
Re: Multithread problem (Only one can live)
Author: Daniel
Date: Mon, 04 Dec 2006 17:25
Date: Mon, 04 Dec 2006 17:25
17 lines
1604 bytes
1604 bytes
Remy Lebeau (TeamB) wrote: > "Daniel" <mzeng@eesensors.com> wrote in message > news:457054ad$1@newsgroups.borland.com... > >> My application will make 3 different instances of class TPull, but >> after the program running a while, there is only 1 instance left, rest 2 >> just never show up again. I check all websites, they are all good. > > You probably crashed your threads so they terminated prematurely. > > > Gambit > > Thanks for help. I found the problem. Because my thread will use access database, and MS Access cant not handle it.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads