-
Fototrend

Új hozzászólás Aktív témák
-
Karma
félisten
Ne próbálj semmi ilyesmit.
Egyébként sincs cancel() metódus, lol.Inkább olvasd el ezt, vagy simán a stop() dokumentációjánál a magyarázatot:
"Deprecated. This method is inherently unsafe. Stopping a thread with Thread.stop causes it to unlock all of the monitors that it has locked (as a natural consequence of the unchecked ThreadDeath exception propagating up the stack). If any of the objects previously protected by these monitors were in an inconsistent state, the damaged objects become visible to other threads, potentially resulting in arbitrary behavior. Many uses of stop should be replaced by code that simply modifies some variable to indicate that the target thread should stop running. The target thread should check this variable regularly, and return from its run method in an orderly fashion if the variable indicates that it is to stop running. If the target thread waits for long periods (on a condition variable, for example), the interrupt method should be used to interrupt the wait."
Új hozzászólás Aktív témák
● olvasd el a téma összefoglalót!
- Apple iPhone 13 Pro 1TB,Átlagos,Dobozaval,12 hónap garanciával
- 152 - Lenovo LOQ (15IRH8) - Intel Core i5-12450H, RTX 4060 (ELKELT)
- Telefon Felvásárlás!! iPhone 14/iPhone 14 Plus/iPhone 14 Pro/iPhone 14 Pro Max
- MINDENFÉLE Laptop jó áron nézz körül! 60+ hirdetés Üzleti,Gamer, Multimédiás,Tervező
- Új Lenovo 14 Slim5 WUXGA OLED 620nit Ryzen7 7730U 4.5Ghz 16GB 1TB SSD Radeon RX Vega8 Win11 Garancia
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest

