|
|
|
Ïðî ìíîãîïîòî÷íîñòü. Áîðîäà, íî çàáàâíî.
This example shows a fundamental problem with using threads. You
never know when a thread might be run. Imagine sitting at a table with a
fork, about to spear the last piece of food on your plate and as your fork
reaches for it, the food suddenly vanishes (because your thread was
suspended and another thread came in and stole the food). That’s the
problem that you’re dealing with when writing concurrent programs.
Bruce Eckel, Thinking in Java 3ed
ÑâèíîÄåìîí ñ ò¸ìíîé ñòîðîíû: ÈÄÈ ÊÀ ÌÍÅ!!! ÁÓÕÀÕÀ!!!
|
|
Azzie 2007-01-23 09:51:47 Âñåãî ïîñòîâ: 10
|
|
Ññûëêà íà ïîñò |
|
|
|
ãîëîëåä ñóêà ñêîëüçêèé - âèäåî!!!
ÑâèíîÄåìîí ñ ò¸ìíîé ñòîðîíû: ÊÒÎ ÒÓÄ ?!!!
|
|
Ëîñü 2007-01-23 09:51:47 Âñåãî ïîñòîâ: 1473
|
|
Ññûëêà íà ïîñò |
|
|
|
|
|
|
Áëÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÑâèíîÄåìîí ñ ò¸ìíîé ñòîðîíû: ÏÓÑÒÜ ÂÑÅÃÄÀÀÀÀÀ ÁÓÄÅÅÒ ÑÎËÍÖÅÅÅÅÅ...
|
|
ÕÇ êòî 2007-01-22 10:24:18 Âñåãî ïîñòîâ: 2345
|
|
Ññûëêà íà ïîñò |
|
|
|
|
|
|
|
|
|
|