Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

kill tThread Find similar branches


neo_   (2001-12-18 12:33) [0]

Tell me, pliz, how can you, being in the main application thread, determine if there is a parallel stream and, if so, correctly complete it.
Thank you.



Digitman   (2001-12-18 13:10) [1]

classic example:

type TMyThread = class (TThread) protected procedure Execute; override; end; var MyThread; TMyThread; implementation procedure TMyThread.Execute; begin while not terminated do begin ....... end; end; ... MyThread: = TMyThread.Create (..); creating and starting a thread ... MyThread.Free; // kill stream




Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.55 MB
Time: 0.034 c
7-22418
Mikle
2001-09-20 09:06
2002.01.08
Urgently! Comp instead of the printer.


1-22220
Kandyl
2001-12-16 15:10
2002.01.08
How to prevent deleting a folder without hanging in the tray?


1-22226
Diet
2001-12-15 13:06
2002.01.08
Why doesn't this simple code work ...


4-22474
Slym
2001-11-02 11:25
2002.01.08
Can't make a hook ... Help!


1-22262
Kate
2001-12-17 15:25
2002.01.08
help





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish