[Java lista] szalkezeles

Zoltan Mozes Zoltan_Mozes at epam.com
2007. Jan. 29., H, 15:01:17 CET


nabazz' még én is megkavarodok itten!

run-t kell felülbírálni és start()-ot hívni.

de a start()-ot akkor sem szabad felülbírálni :)

bocsi

Best Regards,
Zoltán Mózes


EPAM Systems
Budapest office, Hungary (GMT+1)

Office phone:        +36 (1) 327-74-XX
Office fax:            +36 (1) 327-74-20
Mobile phone:       +36 (20) XXX-XXX
E-mail:                 Zoltan_Mozes at epam.com

http://www.epam.com

CONFIDENTIALITY CAUTION AND DISCLAIMER
This message is intended only for the use of the individual(s) or entity(ies) to which it is addressed and contains information that is legally privileged and confidential. If you are not the intended recipient, or the person responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. All unintended recipients are obliged to delete this message and destroy any printed copies.

-----Original Message-----
From: javalist-bounces at javagrund.hu [mailto:javalist-bounces at javagrund.hu] On Behalf Of Zoltan Mozes
Sent: Monday, January 29, 2007 2:59 PM
To: javalist at javagrund.hu
Subject: Re: [Java lista] szalkezeles

for the record:

start metódust nem is kell bántani, sem override-olni sem semmi. Ahhoz nem szabad nyúlni. run()-t kell hívni és a szálkezelő framework megcsinálja amit kell, regisztrálja a szálat, schedulálja meg mindent. A start()hoz nem 
nyúlhatsz.

Best Regards,
Zoltán Mózes


EPAM Systems
Budapest office, Hungary (GMT+1)

Office phone:        +36 (1) 327-74-XX
Office fax:            +36 (1) 327-74-20
Mobile phone:       +36 (20) XXX-XXX
E-mail:                 Zoltan_Mozes at epam.com

http://www.epam.com

CONFIDENTIALITY CAUTION AND DISCLAIMER
This message is intended only for the use of the individual(s) or entity(ies) to which it is addressed and contains information that is legally privileged and confidential. If you are not the intended recipient, or the person responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. All unintended recipients are obliged to delete this message and destroy any printed copies.

-----Original Message-----
From: javalist-bounces at javagrund.hu [mailto:javalist-bounces at javagrund.hu] On Behalf Of Maglódszki Viktor
Sent: Monday, January 29, 2007 2:53 PM
To: javalist at javagrund.hu
Subject: Re: [Java lista] szalkezeles

átirtam a progit
nem Thread-ot öröklöm, hanem implementálom a Runnable interface-t
nincs start() metódus sem

a probléma sajnos még fent áll gondolom valahol máshol van a hiba

bár az számomra érdekes, hogy miért az után blokkolódik a progi miután 
lefutt a TimerTask ?

direkt a TimerTask run metódusa után iratom ki, hogy "lefutott.." ez után 
vár néhány mp-t
a futás magában gyorsan megtörténik miért nem fut tovább az a szál ami 
közben tölti a táblát
egyáltalán miért áll meg? 


_______________________________________________
Javalist mailing list
Javalist at javagrund.hu
http://javagrund.hu/mailman/listinfo/javalist
_______________________________________________
Javalist mailing list
Javalist at javagrund.hu
http://javagrund.hu/mailman/listinfo/javalist


További információk a(z) Javalist levelezőlistáról