abdullah's picture
Add files using upload-large-folder tool
208a460 verified
raw
history blame
55.6 kB
1
00:00:21,240 --> 00:00:22,960
ุจุณู… ุงู„ู„ู‡ ุงู„ุฑุญู…ู† ุงู„ุฑุญูŠู… ุงู„ุตู„ุงุฉ ูˆุงู„ุณู„ุงู… ุนู„ู‰ ุฑุณูˆู„
2
00:00:22,960 --> 00:00:26,720
ุงู„ู„ู‡ ุงู„ูŠูˆู… ุฅู† ุดุงุก ุงู„ู„ู‡ ู‡ู†ูƒู…ู„ ููŠ ู…ูˆุถูˆุน ุงู„ thread ..
3
00:00:26,720 --> 00:00:29,800
ุงู„ multi-threading ูˆ ู‡ู†ุญุงูˆู„ ู†ูุฌู…ู‘ู„ ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ุงุญู†ุง
4
00:00:29,800 --> 00:00:36,560
ู‚ู„ู†ุงู‡ ุงู„ู…ุญุงุถุฑุฉ ุงู„ู…ุงุถูŠุฉ ู‚ู„ุช ุณุงุจู‚ุง ูƒู„ ุจุฑุงู…ุฌู†ุง ุจุงู„
5
00:00:36,560 --> 00:00:39,780
Java ู„ุญุฏ ุงู„ู„ุญุธุฉ .. ู„ุญุฏ ุงู„ู…ุญุงุถุฑุฉ ุงู„ู…ุงุถูŠุฉ ูƒุงู†ุช
6
00:00:39,780 --> 00:00:44,680
ุจุชุดุชุบู„ ุนู„ู‰ single process ุฃูˆ single task ุฃูˆ ุญุชู‰ ู„ูˆ
7
00:00:44,680 --> 00:00:48,540
ูƒุงู† ููŠ ุนู†ุฏูŠ multi-task ููƒุงู†ุช execution ุชุจุนู‡ู… ุจุชู†ุชู‡ูŠ
8
00:00:48,540 --> 00:00:52,940
ุจุดูƒู„ sequential ู…ุน ุฅู†ู‡ ุงู„ู…ุนุงู„ุฌุงุช ุนู†ุฏู‡ุง ู‚ุฏุฑุฉ ุนุงู„ูŠุฉ
9
00:00:52,940 --> 00:00:56,760
ุฃู†ู‡ุง ุชุดุบู„ ุจุฃูƒุซุฑ ุฃูˆ ุชุดุบู„ ุจุดูƒู„ parallel ูˆุงุชูู‚ู†ุง ุฅู†ู‡
10
00:00:56,760 --> 00:01:01,020
ููŠ ุนู†ุฏูŠ ุฃู†ุง process-based multitasking ูˆููŠ ุนู†ุฏูŠ
11
00:01:01,020 --> 00:01:04,180
thread-based multitasking ู„ู€ process-based ู‚ู„ู†ุง
12
00:01:04,180 --> 00:01:06,520
ุดุบู„ ุงู„ operating system ุฅู†ู‡ ูŠุดุบู„ ุฃูƒุซุฑ ู…ู†
13
00:01:06,520 --> 00:01:10,520
application ู…ุน ุจุนุถ ูˆู‚ู„ู†ุง ู„ู€ thread-based ุดุบู„ ุงู„
14
00:01:10,520 --> 00:01:13,440
application ุงู„ูˆุงุญุฏ ุฅู†ู‡ ูŠุดุบู„ ุฃูƒุซุฑ ู…ู† task ุจุดูƒู„
15
00:01:13,440 --> 00:01:17,840
ู…ุชุฒุงู…ู† ูˆุจุนุฏูŠู† ู†ุชูƒู„ู… ุนู† ุงู„ู€ Multithreading ุจุงู„ุฌุงูˆุฉ
16
00:01:17,840 --> 00:01:21,440
ู†ู‚ูˆู„ ุฅู† ุงู„ thread ุจุดูƒู„ ุนุงู… ูŠุนู†ูŠ ุฃู†ุง ุงู„ุขู† ุจุดุชุบู„ ููŠ
17
00:01:21,440 --> 00:01:25,260
ุงู„ application ุชุจุนูŠ ุจุฏูˆู† ุนู…ู„ branching ุญุณุจ ุนุฏุฏ ุงู„
18
00:01:25,260 --> 00:01:28,300
branches ุงู„ู„ูŠ ู…ู…ูƒู† ุชูƒูˆู† ุนู†ุฏูŠ ูˆุจุนุฏ ู‡ูŠูƒ ุดุบู„ ูƒู„ู‡
19
00:01:28,300 --> 00:01:33,360
ูŠุชุฌู…ุน ู…ุฑุฉ ุซุงู†ูŠุฉ ูŠุนู†ูŠ ุฃู†ุง ูุนู„ูŠุง ุฌุฒุก ุงู„ parallel ุฃูˆ
20
00:01:33,360 --> 00:01:36,360
ุงู„ concurrent ุจูŠูƒูˆู† ููŠ ุฌุฒุก ู…ู† ุงู„ุจุฑู†ุงู…ุฌ ูˆู‡ุฐุง
21
00:01:36,360 --> 00:01:39,320
ุงู„ุชู‚ุณูŠู…ุฉ ุจุฏู‡ุง ุชูƒูˆู† ุญุณุจ ู…ุง ุฃู†ุง ู‚ุฏ ุฅูŠุด ูุงู‡ู… ุงู„ุจุฑู†ุงู…ุฌ
22
00:01:39,320 --> 00:01:43,600
ุชุจุนูŠ ู‚ุฏ ุฅูŠุด ุงู„ู€dependency ุฃูˆ ุงู„ู€independence ุงู„ู€
23
00:01:43,600 --> 00:01:46,380
independent parts ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ application ุชุจุนูŠ
24
00:01:46,380 --> 00:01:50,800
ุนุดุงู† ุฃู‚ุฏุฑ ุฃุฏูŠ ูƒู„ part ู„ thread ู…ุนูŠู† ูˆู‚ูˆู„ู†ุง ุจุดูƒู„
25
00:01:50,800 --> 00:01:53,880
ุนุงู… ุงู„ thread ู„ู…ุง ุฃู†ุง ุฃู†ุดุฆู‡ ูŠู…ุฑ ุจู…ุฌู…ูˆุนุฉ ู…ู† ุงู„
26
00:01:53,880 --> 00:01:56,700
states ุฃูˆ ุงู„ thread ุญูŠุงุชู‡ ุจุชุฏุฎู„ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„
27
00:01:56,700 --> 00:02:00,480
states new, runnable, blocked, waiting, time
28
00:02:00,480 --> 00:02:04,960
waiting ูˆ terminated ุงู„ู€ new ุฃู†ุง ุฃู†ุดุฃุชู‡ุŒ ุจุนุฏูŠู†
29
00:02:04,960 --> 00:02:08,960
ุจู†ุชู‚ู„ ู„ู…ุฑุญู„ุฉ ุซุงู†ูŠุฉ ุงู„ู„ูŠ ุจูŠู†ุนู…ู„ู‡ runุŒ executionุŒ
30
00:02:08,960 --> 00:02:11,140
blocked ุฃุซู†ุงุก ุงู„ executionุŒ ุจุฏู‡ resourceุŒ ู„ูƒู† ุงู„
31
00:02:11,140 --> 00:02:14,240
resource ุฏู‡ ู…ุญุฌูˆุฒุŒ ู‡ูŠุนู…ู„ waitุŒ ุงู„ุขู† waiting ู‡ูˆ
32
00:02:14,240 --> 00:02:18,020
ู‚ุงุนุฏ ุจูŠุณุชู†ู‰ task ุฃูˆ ุจูŠุณุชู†ู‰ result ู…ู† ุงู„ thread
33
00:02:18,020 --> 00:02:21,740
ุซุงู†ูŠ ุฅู†ู‡ุง ุชุฌู‡ุฒุชุŒ terminated ูˆ time waitingุŒ ุฃู†ุง
34
00:02:21,740 --> 00:02:24,960
ุนุงู…ู„ ู„ู‡ sleepุŒ ูŠุณุชู†ู‰ ูุชุฑุฉ ุฒู…ู†ูŠุฉ ู…ุญุฏุฏุฉุŒ ุซู… ูŠุดุชุบู„
35
00:02:24,960 --> 00:02:27,360
ุนู„ูŠู‡ุง ูˆ ุงู„ estate ุงู„ุฃุฎูŠุฑุฉ ุงู„ู„ูŠ ุจูŠุณู…ูŠู‡ุง terminated
36
00:02:27,360 --> 00:02:32,450
ู„ู…ุง ุจูŠู†ุชู‡ูŠ ูƒู†ุช ุนุดุงู† ุฃู†ุดุฆ ุงู„ู€ thread ุจุงู„ู€ Java ูˆ
37
00:02:32,450 --> 00:02:36,650
ุจุงู„ู€ code ุชุจุนูŠ ุนู†ุฏูŠ ุญุงู„ุชูŠู† ุฅู…ุง ุจุฏูŠ ุฃุนู…ู„ extend ู„ู„ู€
38
00:02:36,650 --> 00:02:40,450
thread class ูŠุนู†ูŠ ุจุฏูŠ ุฃุชูˆุฑุซ ุฎุตุงุฆุต ู…ู† ุงู„ thread
39
00:02:40,450 --> 00:02:44,770
class ุฃูˆ ุจุฏูŠ ุฃุนู…ู„ implement ู„ู„ู€ runnable interface
40
00:02:44,770 --> 00:02:49,550
ุทุจุŒ ู‡ู„ ููŠ ุฃูุถู„ูŠุฉ ู„ู„ุงุซู†ูŠู†ุŸ ู‡ุงุฏูŠ ูˆู„ุง ู‡ุงุฏูŠุŸ ู…ุงุจุชูุฑุฌุด
41
00:02:49,550 --> 00:02:54,550
ูƒุชูŠุฑ ู…ุนุงูŠุง ุจุณ ุจูŠุญูƒู…ู†ูŠ ููŠ ุงู„ุงุณุชุฎุฏุงู… .. ุนููˆุง ู…ูˆุถูˆุน
42
00:02:54,550 --> 00:02:56,470
ุงู„ inheritance ุงู„ู„ูŠ ุงุชุนู„ู…ู†ุงู‡ ููŠ ุงู„ object oriented
43
00:02:57,390 --> 00:03:00,030
ุฃู†ุง ู„ู…ุง ุจูƒูˆู† ููŠ ุนู†ุฏูŠ class ูˆ ุนุงู…ู„ extend ู…ู† super
44
00:03:00,030 --> 00:03:02,890
class ุฒูŠ ุงู„ employee ุฃูˆ ุงู„ student ุฃูˆ ุงู„ vehicle
45
00:03:02,890 --> 00:03:06,230
ุฅู„ู‰ ุขุฎุฑู‡ ุฃู†ุง ู…ุง ุฃู‚ุฏุฑุด ุฃุฑูˆุญ ุฃู‚ูˆู„ู‡ ูƒู…ุงู† ู…ุฑุฉ extend
46
00:03:06,230 --> 00:03:10,490
threads ู„ูƒู† ุจุฑูˆุญ ุจู‚ุฏุฑ ุฃู‚ูˆู„ ู„ู‡ implement runnable
47
00:03:10,490 --> 00:03:14,230
ูุงู„ุขู† ุญุณุจ ุงู„ุดุบู„ ุฃูˆ ุงู„ุงุชุฌุงู‡ ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ุงุดุชุบู„ ููŠู‡
48
00:03:14,230 --> 00:03:17,290
ุญุณุจ ูˆุถุน ุงู„ application ุฃูˆ ุงู„ application ุงู„ู„ูŠ ุฃู†ุง
49
00:03:17,290 --> 00:03:19,890
ุฃุนู…ู„ ุงู„ application ุงู„ู„ูŠ ุฃู†ุง ุจู‚ู‰ ุงุดุชุบู„ ููŠู‡ ูˆู‚ูˆู„ู†ุง
50
00:03:19,890 --> 00:03:23,330
ููŠ ูƒู„ ุงู„ุญุงู„ุชูŠู† ุจุฏูŠ ุฃุนู…ู„ override ุฃูˆ ุจุฏูŠ ุฃุนู…ู„
51
00:03:23,330 --> 00:03:26,230
implementation ู„ู„ู…ูŠุซูˆุฏ ุงู„ู„ูŠ ุงุณู…ู‡ุง run ู‡ุฐุง ุงู„
52
00:03:26,230 --> 00:03:29,750
example ุจุดูƒู„ ุณุฑูŠุน ุงู„ู„ูŠ ุงุญู†ุง ุดูู†ุงู‡ extends thread
53
00:03:30,890 --> 00:03:35,070
ุงู„ู€ run ุทุจุนุงู‹ ุชุจุนู‡ุง ุงู„ data type ุชุจุนุชู‡ุง void ูŠุนู†ูŠ
54
00:03:35,070 --> 00:03:37,990
ู…ุง ููŠ return data ูˆู‡ูŠ ุงู„ execution ุชุจุนุชู‡ุง ุนุดุงู† ุฃุนู…ู„
55
00:03:37,990 --> 00:03:43,090
time waiting sleep ู‡ูŠู‡ุง ู„ูˆ ุฃู†ุง ุจุฏูŠ ุฃุฑูˆุญ ุฃุนู…ู„
56
00:03:43,090 --> 00:03:49,590
implement ู„ู„ runnable ู†ูุณ ุงู„ code run ูˆ ุจุฑุถู‡ void
57
00:03:49,590 --> 00:03:54,390
ูˆ ู†ูุณ ุงู„ code ุงู„ุณุงุจู‚ ุจุฏูˆู† ุฃูŠ ู…ุดุงูƒู„ ููŠ ุฏุงุฎู„ ุงู„ main
58
00:03:54,390 --> 00:03:59,070
application ุชุจุนูŠ ุงู„ู„ูŠ ู…ู† ุงู„ุจุฏุงูŠุฉ my thread ูˆุงู‚ุชูŠุช
59
00:03:59,070 --> 00:04:02,710
ูˆุงุญุฏ my thread ูˆ ุฃุฏูŠุชู‡ ุงู„ุฒู…ู† ูˆ ุฃุฏูŠุชู‡ ุงุณู… ูˆ ุญุฏุฏุชู‡
60
00:04:02,710 --> 00:04:06,910
priority my thread ุงุชู†ูŠู† ูˆ ุฃุฏูŠุชู‡ ุฒู…ู† ูˆ ุฃุฏูŠุชู‡ ุงุณู… ูˆ
61
00:04:06,910 --> 00:04:11,430
ุญุฏุฏุชู‡ priority thread ุชู„ุงุชุฉ ูˆ ู‡ู† ุถุฑูˆุฑูŠ ุฅู† ุชู†ุชุจู‡
62
00:04:11,430 --> 00:04:15,110
ุฅู† ุฃู†ุง ุฑุฌุนุช ู„ู„ super class thread ุจูŠู†ู…ุง ู‡ู† ูƒู†ุช
63
00:04:15,110 --> 00:04:19,090
ุจุชุนุงู…ู„ ู…ุน ุงู„ my thread ุงู„ู„ูŠ ุฃู†ุง ุนู…ู„ุช ู„ู‡ extend ูˆ
64
00:04:19,090 --> 00:04:23,570
ุงู„ุนู„ุงู‚ุฉ ุจูŠู†ู‡ู… is A ุทูŠุจ ูˆ ุฑูˆุญุช ููŠ ุงู„ุขุฎุฑุฉ ุฅูŠุด ู‚ู„ุช ู„ู‡
65
00:04:23,570 --> 00:04:28,160
ู‡ู† ุงู„ new thread ูˆ ุฃุฏูŠุชู‡ object mail ุงู„ู€ my
66
00:04:28,160 --> 00:04:34,020
runnable ุงู„ู„ูŠ ุฃู†ุง ุงุดุชุบู„ุช ุนู„ูŠู‡ ุชู…ุงู… ูˆู‚ู„ู†ุง start
67
00:04:34,020 --> 00:04:41,460
ุจุชุณุชุฏุนูŠ ุงู„ run method ููŠ ูƒู„ ูˆุงุญุฏ ู…ู†ู‡ู… ูˆ ุจู…ุฌุฑุฏ ุฃู† ู‡ุง
68
00:04:41,460 --> 00:04:45,620
ุชุจุฏุฃ ุงู„ุดุบู„ ุชู†ุชู‚ู„ ู„ู„ูŠ ุจุนุฏู‡ุง ู…ุงุจุชุณุชู†ุงุด ุชุฎู„ุต
69
00:04:45,620 --> 00:04:49,160
ูˆุจู‡ูŠูƒ ุตุงุฑ ููŠ ุนู†ุฏูŠ ุฃู†ุง multi-threading ุงุดุชุบู„ ููŠ ุงู„
70
00:04:49,160 --> 00:04:54,440
application ุชุจุนูŠ ูˆู‚ู„ู†ุง ูƒู„ุงู… ู…ู‡ู… ุฌุฏุง ุฅู† ู…ุงุญุฏุด ุจูŠุถู…ู†
71
00:04:54,440 --> 00:05:00,030
ูƒูŠู ุดูƒู„ ุงู„ output ู„ูŠุดุŸ ู„ุฃู† ูƒู„ ู‡ุฐุง ุจูŠุนุชู…ุฏ ุนู„ู‰ ุงู„ CPU
72
00:05:00,030 --> 00:05:03,230
ุงู„ CPU scheduler ูˆ dispatcher ู‚ุฏ ุฅูŠุด ููŠ ุนู†ุฏู‡ task
73
00:05:03,230 --> 00:05:07,170
ู‚ุฏ ุฅูŠุด ุงู„ CPU busy ู‚ุฏ ุฅูŠุด idol ูุจูŠุฑูˆุญ ุจุตูŠุฑ ูŠุนุทูŠ ุฃูˆ ูŠุฌุณู…
74
00:05:07,170 --> 00:05:12,730
ุงู„ุฃูˆู‚ุงุช ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏู†ุง ุฃู‡ู… ูˆู‚ู„ู†ุง ุจุนุฏ ู‡ูŠูƒ ุฃูˆ
75
00:05:12,730 --> 00:05:15,610
ุงู†ุชู‚ู„ู†ุง ููŠ ู†ู‡ุงูŠุฉ ุงู„ู…ุญุงุถุฑุฉ ุชูƒู„ู…ู†ุง ุนู„ู‰ ุดุบู„ ูŠุณู…ูŠู†ุงู‡ุง
76
00:05:15,610 --> 00:05:19,150
ุงู„ synchronization ุฃูˆ ุงู„ lock ุนู„ู‰ ุงู„ resources
77
00:05:19,150 --> 00:05:22,810
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ุฏุงุฎู„ ุงู„ application ุชุจุนูŠ ูŠุนู†ูŠ ู„ูˆ
78
00:05:22,810 --> 00:05:30,470
ูƒุงู† ููŠ ุนู†ุฏูŠ data file ู…ู„ู ุจุฏูŠ ุฃู‚ุฑุฃ ู…ู†ู‡ ุฃูˆ ุจุฏูŠ ุฃูƒุชุจ
79
00:05:30,470 --> 00:05:35,230
ุนู„ูŠู‡ ุฅุฐุง ุฃู†ุง ุจุชูƒู„ู… ู‚ุฑุงุกุฉ ุฃูˆ ูƒุชุงุจุฉ ุนู…ู„ูŠุฉ ุงู„ู‚ุฑุงุกุฉ
80
00:05:35,230 --> 00:05:37,910
ู…ุงููŠุด ููŠู‡ุง ู…ุดูƒู„ุฉ ู…ุงุจุชุณุชุฏุนูŠ ุฅู† ู‡ู‚ู†ุน ู…ุงู„ูƒ ู„ุฃู†ู‡
81
00:05:37,910 --> 00:05:41,310
ุฃูƒุซุฑ ู…ู† user ู…ู…ูƒู† ูŠู‚ุฑุฃ ู…ู† ู†ูุณ ุงู„ู…ู„ู ุจุฏูˆู† ู…ุดูƒู„ุฉ ู„ูƒู†
82
00:05:41,310 --> 00:05:44,830
ุงู„ู…ุดูƒู„ุฉ ุจุชุตูŠุฑ ูˆุงุถุญุฉ ู…ุชู‰ ุนู†ุฏ ุงู„ูƒุชุงุจุฉ ุฅุฐุง ุฃู†ุง ุจุฏูŠ
83
00:05:44,830 --> 00:05:48,810
ุฃูƒุชุจ ุนู„ู‰ ุงู„ู…ู„ู ูู„ุงุฒู… ุฃู†ุง ุฃุบู„ู‚ ุงู„ู…ู„ู ุงู„ thread ุนู„ู‰
84
00:05:48,810 --> 00:05:53,390
ูุฑุถ ุฅู†ู‡ ุฃู†ุง ููŠู‡ ุนู†ุฏูŠ T1 ูˆ T2 ูˆ T3 ุฏูˆู„ ุงู„ู€ different
85
00:05:53,390 --> 00:05:56,370
threads ูˆ ุจุฏู‡ู… ูŠุตู„ูˆุง ู„ู„ู…ู„ู ู‡ุฐุง ุนุดุงู† ูŠูƒุชุจูˆุง ุนู„ูŠู‡
86
00:05:56,370 --> 00:06:00,410
ุทุจุนุง ุฃุซู†ุงุก ุงู„ execution ููŠู‡ ูุฑู‚ ุฒู…ู†ูŠ ู…ุง ุจูŠู†ู‡ู…
87
00:06:00,410 --> 00:06:07,650
ู…ูุตุจูˆุท ุงู„ุขู† T3 ูˆุตู„ ู„ู…ุฑุญู„ุฉ
88
00:06:07,650 --> 00:06:14,490
ู‚ุฑุงุกุฉ ุงู„ู…ู„ู ู‚ุจู„ ุฃู† ุจุฏู†ุง ู†ุนู…ู„ lock ู„ู„ file ุงู„ file
89
00:06:14,490 --> 00:06:18,710
ู‡ุฐุง ู…ู…ูƒู† ูŠูƒูˆู† ุงู„ realist ู…ู…ูƒู† ูŠูƒูˆู† ุงู„ vector ู…ู…ูƒู†
90
00:06:18,710 --> 00:06:23,370
ูŠูƒูˆู† ุฃูŠ ุดุบู„ ุซุงู†ูŠุฉ ุฃูŠ object ุซุงู†ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ ู ุฃู†ุง
91
00:06:23,370 --> 00:06:28,910
ุจุฏูŠ ุฃุฑูˆุญ ุฃุนู…ู„ู‡ lock ุงู„ lock ูƒุงู† ู…ุนู†ุงุชู‡ ุฅุซู†ูŠู† ู‡ุฏูˆู„ ู‡ุฐุง
92
00:06:28,910 --> 00:06:36,670
ู„ุณู‡ ู…ุง ูˆุตู„ุด ู‡ุฐุง ูˆุตู„ ู‡ูŠุฏุฎู„ ููŠ ู…ุฑุญู„ุฉ blocked ู…ุบู„ู‚ ู…ุด
93
00:06:36,670 --> 00:06:41,390
ู‡ูŠู‚ุฏุฑ ูŠุดุชุบู„ ู„ูŠุดุŸ ู„ุฃู† ุงู„ resource ุงู„ู„ูŠ ุจุฏู‡ ุฅูŠุงู‡ ู…ุดุบูˆู„ ุฃูˆ
94
00:06:41,390 --> 00:06:47,650
ู…ุญุฌูˆุฒ ู…ู† ุฎู„ุงู„ T1 ุฃูˆ T3 ุฎู„ุต T3 ูˆุญุฏู‡ ู‡ูŠุฏุง ุจูŠูƒูˆู† ูˆุตู„
95
00:06:47,650 --> 00:06:55,050
ุงู„ุขู† ูˆุงุญุฏ ู…ู†ู‡ู… ูู…ุฌุฑุฏ ู‡ุฏูŠ ูŠุนู…ู„ release ูˆุงุญุฏ ู…ู†ู‡ู…
96
00:06:55,050 --> 00:06:58,050
ู‡ูŠู…ุณูƒ ุงู„ resource ู‡ูŠุนู…ู„ lock ูˆุงู„ุชุงู†ูŠ ู‡ูŠุฏุฎู„ ููŠ
97
00:06:58,050 --> 00:07:02,870
ู…ุฑุญู„ุฉ ุงู„ blocked ุนุดุงู† ุฃู†ูุฐ ุนู…ู„ูŠุฉ ุงู„ blocked ู‡ุฐู‡ ููŠ
98
00:07:02,870 --> 00:07:06,510
ุนู†ุฏูŠ ุชู„ุงุช ุญุงู„ุงุช ุฅู…ุง ุจุฑูˆุญ ุจุงุชุฌุงู‡ ุงู„ synchronized
99
00:07:06,510 --> 00:07:10,610
method ูˆ ุจุงู„ู€ Synchronized method ุฃู†ุง ุจุฏูŠ ุฃุฑูˆุญ
100
00:07:10,610 --> 00:07:13,650
ุฃุณุชุฎุฏู… ุงู„ู€ keyword ุงู„ู€ keyword ุงู„ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ
101
00:07:13,650 --> 00:07:16,750
Synchronized ููŠ ุงู„ู€ definition ุชุจุนุช ุงู„ู…ูŠุซูˆุฏ ุฃู†ุง
102
00:07:16,750 --> 00:07:20,030
ุจุฏูŠ ุฃู‚ุฑุฃ ู…ู„ู ุฃูˆ ุจุฏูŠ ุฃูƒุชุจ ุนู„ู‰ ู…ู„ู ุงู„ู…ูŠุซูˆุฏ ู‡ุฐู‡ ุจุฑูˆุญ
103
00:07:20,030 --> 00:07:24,990
ุจุนุฑูู‡ุง public Synchronized public Synchronized
104
00:07:24,990 --> 00:07:29,750
ู„ุงุญุธูˆุง ุงู„ู…ูŠุซูˆุฏ ู‡ุฐู‡ ู…ุด static public Synchronized
105
00:07:29,750 --> 00:07:32,910
ู…ูู‡ูˆู… ูƒู„ู…ุฉ Synchronized ู‡ูŠ ู…ูˆุถูˆุน ุงู„ู€ look ุฃู†ู‡ ู„ุงุฒู…
106
00:07:32,910 --> 00:07:35,490
ูŠูƒูˆู† ููŠู‡ ุชุฒุงู…ู† ููŠ ุงู„ุชุนุงู…ู„ ู…ุน ุงู„ู…ูŠุซูˆุฏ ู‡ุฐู‡ ุฃุทุจู‚ูˆุง
107
00:07:36,600 --> 00:07:39,780
Synchronized ู…ูู‡ูˆู…ู‡ุง Synchronized method ุจู…ุฌุฑุฏ ุฃู†
108
00:07:39,780 --> 00:07:46,340
ุงู„ thread ุงู„ุฃูˆู„ ูŠุนู…ู„ call ู„ู„ method ู‡ุฐู‡ ุงู„ method
109
00:07:46,340 --> 00:07:51,500
ู‡ุฐู‡ ุจูŠุนู…ู„ ู„ู‡ุง look ู„ู„ูƒูˆุฏ ุงู„ู„ูŠ ุฌุงูŠ ู†ุชุจู‡ูŠ ู…ุนุงูŠุง ู„ู‡ุฐุง
110
00:07:51,500 --> 00:07:55,360
ุงู„ุดุบู„ ุงู„ุขู† ู‡ุฐุง ุงู„ูƒู„ุงู… ู…ู‡ู… ุจุฏูŠ ุฃุฑุฌุน ู…ุนุงูƒูŠ ู„ู„ู…ุซุงู„
111
00:07:55,360 --> 00:07:58,200
ุงู„ุณุงุจู‚ ูˆ ุฃุฎู„ูŠ ุงู„ function ู‡ุฐู‡ ุญุงุถุฑุฉ ููŠ ุฐู‡ู†ูƒ ุงู„ุขู†
112
00:07:58,200 --> 00:08:07,820
ู„ูˆ ุฃู†ุง ุฌูŠุช ูƒุชุงุจุฉ getdata file ุฃูˆ get data from
113
00:08:07,820 --> 00:08:13,780
file ุงู„ู„ูŠ ู‡ูŠ ุงู„ method ุชุจุนุชู†ุง ุงู„ execution ู‡ูˆ
114
00:08:13,780 --> 00:08:18,920
sequential ูˆู„ุงุŸ ุชู…ุงู… ูŠุนู†ูŠ ู‡ูŠุจุฏุฃ ูŠู†ูุฐ ู‡ู†ุง ู‡ูŠุฌูŠ ุนู„ู‰
115
00:08:18,920 --> 00:08:22,640
ุงู„ method ูˆูŠู†ุชู‚ู„ ุฌูˆุง ุงู„ method sequential ู„ู…ุง ูŠุฎู„ุต
116
00:08:22,640 --> 00:08:27,120
ูŠูƒู…ู„ ุงู„ู„ูŠ ุจุนุฏู‡ุงุŒ ุจุตุจุชุŸ ุทูŠุจ ู…ุง ู‡ูˆ ุงู„ code ู‡ุฐุง ู…ุดุชุฑูƒ
117
00:08:27,120 --> 00:08:29,900
ุจูŠู† T1 ูˆ T2 ูˆ T3
118
00:08:32,050 --> 00:08:37,990
T1 ุฃูˆ T3 ุนููˆุง ูˆุตู„ ุฌุงุจู„ู‡ู… ูˆุตู„ ู„ู€ method ู‡ู† ุจู…ุฌุฑุฏ
119
00:08:37,990 --> 00:08:43,170
ุนู…ู„ call ู„ู€ method ุงู„ุขู† ุดุฎุต ุณุงูˆูŠุฉ ุจูŠู…ู†ุน ุฃูŠ thread
120
00:08:43,170 --> 00:08:46,990
ูŠูƒู…ู„ execution ู‡ุฐู‡ ู…ูู‡ูˆู…ู‡ุง ูŠูƒู…ู„ execution ุนู„ู‰
121
00:08:46,990 --> 00:08:51,090
ุงู„ูƒูˆุฏ ุงู„ู„ูŠ ุฌุงูŠ ู„ุฃู† ูƒู„ู‡ ุจูŠู…ุฑ ุจู†ูุณ ุงู„ู…ุฑุญู„ุฉ ูู‡ุฐุง ู…ู†
122
00:08:51,090 --> 00:08:54,770
ู‡ู† ู…ู† ุจุฏุงูŠุฉ ุงู„ calling ู„ู€ method ู‡ุฐู‡ ุญุชู‰ ู†ู‡ุงูŠุชู‡ุง
123
00:08:54,770 --> 00:09:00,060
ุงู„ function ู‡ุฐู‡ ุฅูŠุด locked ูŠุนู†ูŠ ูƒู„ ุงู„ู€ threads ุงู„ู„ูŠ
124
00:09:00,060 --> 00:09:03,060
ุจูŠู…ุดูˆุง ูˆุฑุงู‡ ู‚ุงุนุฏูŠู† ุฃูˆ ู…ุชุฃุฎุฑูŠู† ุนู†ู‡ ุดูˆูŠุฉ ููŠ ุงู„
125
00:09:03,060 --> 00:09:07,220
execution ู„ู…ุง ูŠุตู„ ุงู„ู…ุฑุญู„ุฉ ู‡ุฐู‡ ู‡ูŠู‚ููˆุง ู„ุญุฏ ู…ุง ..
126
00:09:07,220 --> 00:09:12,720
ูŠุตุจุญูˆุง blocked ู„ุญุฏ ู…ุง ู‡ุฐุง ูŠุนู…ู„ release ูˆุจุงู„ุชุงู„ูŠ
127
00:09:12,720 --> 00:09:17,380
ู…ุชู‰ ุจูŠุฎู„ุตุŸ ู„ู…ุง ูŠุนู…ู„ return ู„ู„ value ุงู„ู…ุทู„ูˆุจ ุนู†ุฏู‡
128
00:09:17,380 --> 00:09:21,290
ู„ุญุฏ ู…ุง ูŠุฎู„ุต ูƒู„ ุงู„ function ููŠู‡ุง ู…ูŠุฒุฉ ูƒูˆูŠุณุฉ ุฅู†ู‡ุง
129
00:09:21,290 --> 00:09:24,870
ุจุชุญุงูุธ ุนู„ู‰ ุงู„ุดุบู„ ูƒู„ู‡ consistent ู…ู† ุฃูˆู„ ุงู„ู€
130
00:09:24,870 --> 00:09:27,250
function ู„ุฃุฎุฑูŠุชู‡ุง ุฃู†ุง ุถุงู…ู† ุฅู† ู…ุงููŠุด ุญุฏ ุจูŠุนู…ู„
131
00:09:27,250 --> 00:09:31,390
interference ุนู„ู‰ ุงู„ุดุบู„ ุงู„ู„ูŠ ุนู†ุฏูŠ ูƒ thread ู„ูƒู† ุจุนุถู‡ุง
132
00:09:31,390 --> 00:09:35,830
ููŠู‡ุง ุนูŠุจ ุทุจ ู„ุฑุจู…ุง ุงู„ุณุทุฑ ุฃูˆ ุงู„ุฌุฒุฆูŠุฉ ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ
133
00:09:35,830 --> 00:09:41,050
ุฃูƒุชุจ ููŠู‡ุง ุณุทุฑ ูˆุงุญุฏ ู…ูˆุฌูˆุฏ ู‡ู† ุฃุนู…ู„
134
00:09:41,050 --> 00:09:44,010
wait ู„ุญุฏ ู…ุง ุชุฎู„ุต ุงู„ function ุฃูˆ ุฃุญุท ู„ threads
135
00:09:44,010 --> 00:09:47,250
ุงู„ุซุงู†ูŠุฉ ู„ุญุฏ ู…ุง ุชุฎู„ุต ุงู„ function ูƒู„ ุงู„ูุชุฑุฉ ุงู„ุทูˆูŠู„ุฉ
136
00:09:47,250 --> 00:09:54,360
ุนุงุฏูŠ ุทุจ ุฃู…ุง ุจุฑูˆุญ ุจุนู…ู„ block ุนู„ู‰ ู‚ุฏุฑ ุงู„ุฌุฒุฆูŠุฉ ุงู„ู„ูŠ
137
00:09:54,360 --> 00:09:58,040
ุฃู†ุง ุจุฏูŠ ุฅูŠุงู‡ุง ูˆุจู‡ูŠูƒ ุจูˆูุฑ ูˆู‚ุช ุนู„ู‰ ุงู„ threads
138
00:09:58,040 --> 00:10:01,200
ุงู„ุซุงู†ูŠุฉ ุจูŠุจุฏุฃูˆุง ูŠุนู…ู„ูˆุง execution ููŠ ุงู„ method ู„ุญุฏ
139
00:10:01,200 --> 00:10:05,500
ู…ุง ูŠุตู„ูˆุง ุงู„ุฌุฒุฆูŠุฉ ุงู„ู…ุญุฏุฏุฉ ุงู„ specific ุจูŠู‚ููˆุง ูˆุจู‡ูŠูƒ
140
00:10:05,500 --> 00:10:08,580
ุจุตูŠุฑ ููŠ ุนู†ุฏูŠ ุฃูุถู„ูŠุฉ ุฃูˆ ุฃุฏูŠุช ูˆู‚ุช ุฃูˆ ุฌู„ู‘ุช ูˆู‚ุช
141
00:10:08,580 --> 00:10:13,200
ุงู„ุงู†ุชุธุงุฑ ุฃูˆ ูˆุฌุฏ ู„ู…ู†ุŸ ู„ู„ู€ threads ุงู„ุชุงู†ูŠู† ูˆุงุณุชูุฏุช
142
00:10:13,200 --> 00:10:17,200
ุจุดูƒู„ ุฃูƒุจุฑ ู…ูŠู† ุงู„ู„ูŠ ุจูŠู‚ุฑุฑ ุฃุฑูˆุญ ุจุงุชุฌุงู‡ synchronized
143
00:10:17,200 --> 00:10:21,550
method ูˆู„ุง synchronized blockุŸ ุฃู†ุช ูƒู€ Programmer ุฃูˆ
144
00:10:21,550 --> 00:10:24,610
System Analyst ุงู„ู„ูŠ ู‡ูˆ ุจูŠุญุฏุฏ ุงู„ูู‚ุฑุฉ ูˆูŠู† ุฃู†ุง ุจุฏูŠ
145
00:10:24,610 --> 00:10:29,470
ุฃุถูŠูู‡ู… Synchronized Block ู‡ูŠ ุฌุฒุก ู…ู† ุงู„ู€ Function
146
00:10:29,470 --> 00:10:35,760
ู…ุด ุจุงู„ุถุฑูˆุฑุฉ ูŠูƒูˆู† ูƒู„ ุงู„ู€ Function Synchronized ุทุจุนู‹ุง
147
00:10:35,760 --> 00:10:38,580
ู‡ุฐู‡ ุงู„ู€ method ุฃู†ุง ููŠ ุฏุงุฎู„ ุงู„ู€ method ุจุนุฑู ุงู„ู€
148
00:10:38,580 --> 00:10:42,560
synchronized ู…ุซู„ู‹ุง ู…ุซู„ ุงู„ู€ try ูˆุจุญุฏุฏ ู„ู‡ ุงู„ู€ object
149
00:10:42,560 --> 00:10:45,820
ุงู„ู„ูŠ ุงู„ู…ูุฑูˆุถ ุฅูŠุด ุจุฏูŠ ุฃุนู…ู„ ุนู„ูŠู‡ ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ ุนู„ูŠู‡
150
00:10:45,820 --> 00:10:48,800
blocked ูˆูƒู„ ุงู„ู€ code ุงู„ู„ูŠ ุจุฏูŠ ู†ุนู…ู„ ุนู„ูŠู‡ blocked
151
00:10:48,800 --> 00:10:53,300
ูŠูƒูˆู† ููŠ ุฏุงุฎู„ ุงู„ู€ curly braces ุงู„ุฎุงุตุฉ ุจู…ูŠู†ุŸ ุจุงู„ู€
152
00:10:53,300 --> 00:10:58,180
synchronized ุชุจุนุชู†ุง ูŠุนู†ูŠ ู‡ุฐุง ุงู„ู€ code ู‡ูŠูƒุญุณุจ ุงู„ู…ุซุงู„
153
00:10:58,180 --> 00:11:02,580
ู‡ุฐุง ู‡ูŠู†ุนู…ู„ู‡ closed block ูŠุนู†ูŠ ูุนู„ูŠู‹ุง ุฃูŠ thread
154
00:11:02,580 --> 00:11:06,420
ู‡ูŠุฏุฎู„ ูˆุงู„ู€ code ุงู„ู„ูŠ ุฌุงุจ ู„ู‡ ู‡ูŠู†ูุฐู‡ ู„ุญุฏ ู…ุง ูŠุตู„
155
00:11:06,420 --> 00:11:11,260
ู„ู…ู†ุŸ ู„ู€ synchronized block ูˆู‚ูˆู„ู†ุง ุงู„ุญุงู„ุฉ ุงู„ุชุงู„ุชุฉ
156
00:11:11,260 --> 00:11:17,200
ุงู„ู„ูŠ ุนู†ุฏู†ุง static synchronization ุฃู† ุฃุนุฑู static
157
00:11:17,200 --> 00:11:22,960
method ุชู…ุงู…ุŸ ููŠ ุงู„ู€ class ุงู„ู„ูŠ ุนู†ุฏูŠ as synchronized
158
00:11:22,960 --> 00:11:27,490
ูŠุนู†ูŠ ุญุตูŠ ููŠ ุชุนุฑูŠูู‡ุง public static-synchronized
159
00:11:27,490 --> 00:11:31,810
public-synchronized static ูˆุงู„ู€ data type ุชุจุนุชู‡ุง
160
00:11:31,810 --> 00:11:35,990
ุตุงุฑ ููŠ ุนู†ุฏูŠ four modifiers ู…ูˆุฌูˆุฏูŠู† ู…ู† ุงู„ู€ method
161
00:11:35,990 --> 00:11:40,930
ุงู„ุขู† ุฅุฐุง ุฃู†ุง ุนุฑูุช ุงู„ู€ method static ุนุฑูุชู‡ุง
162
00:11:40,930 --> 00:11:47,590
synchronized ู…ูู‡ูˆู…ู‡ุง ุจู…ุฌุฑุฏ ุฃูŠ object ุจุบุถ ุงู„ู†ุธุฑ ู‡ู„
163
00:11:47,590 --> 00:11:51,770
ุงู„ู€ object ู‡ุฐุง common ู…ุน ุงู„ู€ threads ูˆู„ุง different
164
00:11:51,770 --> 00:11:55,430
threads ูŠุดุชุบู„ูˆุง ุนู„ูŠู‡ ุจู…ุฌุฑุฏ ูŠู†ุนู…ู„ ูƒู„ ุงู„ู€ method ู‡ุฐู‡
165
00:11:56,650 --> 00:12:00,130
ูƒู„ ุงู„ู€ objects ุงู„ู„ูŠ ู…ุนู…ูˆู„ุฉ ุนู„ู‰ ุงู„ู€ class ูƒู„ ุงู„ู€
166
00:12:00,130 --> 00:12:03,510
instances ุงู„ู„ูŠ ู…ุจู†ูŠุฉ ุนู„ู‰ ุงู„ู€ class ุจู†ุนู…ู„ู‡ุง Blocked
167
00:12:03,510 --> 00:12:07,270
ู…ุง ุญุฏุด ู…ุงุจุฏุฃ ูŠุดุชุบู„ุŒ ุฎู„ุตู†ุง ุทุจ ู‡ุฐุง ูˆู‡ุฐุง two
168
00:12:07,270 --> 00:12:10,050
different ุงู„ู…ูุฑูˆุถ ู‡ุฏูˆู„ ุงู„ุชุงู†ูŠู† ุฌุงูŠูŠู† ู…ู† ู†ูุณ ุงู„ู€
169
00:12:10,050 --> 00:12:16,330
class ู‡ุฏูˆู„ different classes ุงู„ุญู„ ุฎู„ุงุต ุฃู†ุช ู…ุนุฑู ุงู„ู€
170
00:12:16,330 --> 00:12:19,590
method ุงู„ู„ูŠ ุนู†ุฏู†ุง ู‡ู†ุง Synchronize ุฃูˆ Static
171
00:12:19,590 --> 00:12:23,630
Synchronization Synchronize Static Method ู…ุนู†ุงุชู‡
172
00:12:23,630 --> 00:12:28,860
ุฃู†ุช ู‡ุชุนู…ู„ ู„ูƒุทูŠุจ ูˆุจู‡ูŠูƒ ูƒู†ุง ู†ู‡ูŠู†ุง ู…ูˆุถูˆุน ุงู„ู…ุญุงุถุฑุฉ
173
00:12:28,860 --> 00:12:34,640
ุงู„ู…ุงุถูŠุฉ ูƒู„ู‡ุง ูŠุง ูƒู…ุง ุงู„ุขู† ุงู„ู„ูŠ ุถุงูŠู„ ุนู†ุง ุดุบู„ุฉ ุฃูˆ
174
00:12:34,640 --> 00:12:39,640
ุชู†ุชูŠู† ู…ู‡ู…ุงุช ุฌุฏู‹ุง ููŠ ู…ูˆุถูˆุน ุงู„ู€ threads ุนุดุงู† ุงู„ุณุจุช
175
00:12:39,640 --> 00:12:45,640
ู†ุดุชุบู„ ุนู…ู„ู‡ ุฅู† ุดุงุก ุงู„ู„ู‡ ุชุนุงู„ู‰ ุงู„ุขู† ููŠ
176
00:12:45,640 --> 00:12:46,280
ุงู„ู€ code ู‡ุฐุง
177
00:12:49,720 --> 00:12:55,320
T1, T2, T3, T4 ุทุจ ู„ูˆ ุฃู†ุง ุจุฏูŠ ุฃูƒุซุฑ ู…ู† ู‡ูŠูƒ ุจุฏูŠ ูƒู„ู‡
178
00:12:55,320 --> 00:12:59,380
ู…ูƒุชูˆุจ ุจุงู„ุดูƒู„ ู‡ุฐุง ุจูŠุจู‚ู‰ ุงู„ู„ูŠ ุนุงุฑู ููŠู‡ู…ุŸ ู‡ู„ ู…ู†ุทู‚ุŸ ู„ุฃ
179
00:12:59,380 --> 00:13:03,640
ุทุจ ุจุฏูŠ ุฃุญุทู‡ู… ุฌูˆุง loop ุจู†ูุน ุฃุญุท ุงู„ุตุฏุฑ ู‡ุฐุง ุฌูˆุง loop
180
00:13:03,640 --> 00:13:09,020
ู…ู† ุฎู…ุณ iterationsุŸ
181
00:13:09,020 --> 00:13:14,200
ู„ุฃ ู„ุฃู† ูƒู„ ู…ุฑุฉ ุจูŠู†ุดูŠ object ูŠุฌูŠุจ ุจู†ูุณ ุงู„ุงุณู… ูƒู„ ู…ุฑุฉ
182
00:13:14,200 --> 00:13:17,780
ุจูŠู†ุดูŠ object ูŠุฌูŠุจ ุจู†ูุณ ุงู„ุงุณู… ูˆุจุงู„ุชุงู„ูŠ ู…ุด ู…ู†ุทู‚ูŠุฉ
183
00:13:17,780 --> 00:13:21,140
ุงู„ุดุบู„ ู‡ูŠูƒ ูู„ู…ุง ุจุฏูˆุง ูŠููƒุฑูˆุง ููŠ ุงู„ู€ Multithreading
184
00:13:21,140 --> 00:13:29,180
ู„ูƒ ู…ู…ูƒู† ุฃู†ุง ุฃุดุชุบู„ ุนู„ู‰ ุดุบู„ุฉ ุงุณู…ู‡ุง thread pool pool
185
00:13:29,180 --> 00:13:32,480
ุงู„ู„ูŠ ู‡ูŠ ุงู„ู…ุณุจุญ ุฃูˆ ุงู„ุจุฑูƒุฉ ุชู…ุงู…ุŸ ูˆู„ู…ุง ุฃุชูƒู„ู… ุนู„ู‰
186
00:13:32,480 --> 00:13:34,940
thread pool ูŠุนู†ูŠ ุฃู†ุง ุจุชูƒู„ู… ุนู†ุฏูŠ ุนู„ู‰ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ู€
187
00:13:34,940 --> 00:13:41,400
threads ุฃู†ุง ุจุงู†ุดุฆู‡ุง ุฏูุนุฉ ูˆุงุญุฏุฉ ุจุงู†ุดุฆู‡ุง ุฏูุนุฉ ูˆุงุญุฏุฉ
188
00:13:41,400 --> 00:13:46,460
ุงู„ุขู† thread pool is an instance of executor
189
00:13:46,460 --> 00:13:51,960
service ูˆู‡ุฐุง ุงู„ู€ class ู‡ูˆ ุงู„ู„ูŠ ู‡ู†ุนุชู…ุฏ ุนู„ูŠู‡ ููŠ ุฅู†ุดุงุก
190
00:13:51,960 --> 00:13:59,760
ุงู„ู€ threads ู„ุงุญู‚ู‹ุง ุชู…ุงู… ุงู„ู€ executor services ู‡ุฐุง
191
00:13:59,760 --> 00:14:05,700
ุจู†ุดุฆ ู„ู‡ ุฎู…ุณ ุฃู†ูˆุงุน ู…ุฎุชู„ูุฉ ู…ู† ุงู„ู€ threads ุงู„ุฃูˆู„
192
00:14:05,700 --> 00:14:10,820
single thread executor ู…ู† ุฎู„ุงู„ ุงู„ู€ executors.new
193
00:14:10,820 --> 00:14:15,040
single executor ูŠุนู†ูŠ ุจู†ุดุฆ ุฃู†ุง ุฅูŠุดุŸ thread ูˆุงุญุฏ ูู‚ุท
194
00:14:17,770 --> 00:14:24,190
Cached Thread Pool ุฅูŠุด ู…ูู‡ูˆู… ุงู„ู€ CacheุŸ ุฃู† ูŠูƒูˆู†
195
00:14:24,190 --> 00:14:27,330
ููŠู‡ ุนู†ุฏูŠ ุดุบู„ุงุก ุฌุงู‡ุฒุฉุŒ ู…ุธุจูˆุทุŸ ุฃู†ู‡ ููŠู‡ ุฅุดูŠ ุฌุงู‡ุฒ
196
00:14:27,330 --> 00:14:30,930
ู„ู„ุงุณุชุฎุฏุงู…ุŒ ู…ุง ูŠุฑูˆุญุด ูŠู†ุดู‚ู„ูŠ ุงูŠุงู… ุฌุฏูŠุฏุฉ ู„ู…ุง ุฃู†ุง ุจุฑูˆุญ
197
00:14:30,930 --> 00:14:35,630
ุจู‚ูˆู„ ู„ู‡ Cached Thread Pool ุงู„ู€ scooter ู‡ุฐุง ู‡ูŠุฑูˆุญ
198
00:14:35,630 --> 00:14:39,730
ูŠู†ุดู‚ู„ูŠ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ู€ threads ุฃู†ุง ุจุญุฏุฏ ุนุฏุฏู‡ู… ูˆู„ูŠูƒู†
199
00:14:39,730 --> 00:14:43,730
ุฎู…ุณุฉ ุนู„ู‰ ุณุจูŠู„ ุงู„ู…ุซุงู„ ุงู„ุฎู…ุณุฉ ู‡ุฏูˆู„ ุฅุฐุง ุฃู†ุง ู…ุง
200
00:14:43,730 --> 00:14:49,190
ุงุณุชุบู„ุชู‡ู… ุชู…ุงู…ุŸ ุถู…ู† ูุชุฑุฉ ู…ุนูŠู†ุฉ ุงู„ู„ูŠ ู‡ูŠ 60 second
201
00:14:49,190 --> 00:14:54,890
ู‡ูŠุฑูˆุญูˆุง ุงู„ุฎู…ุณุฉ ุนู„ู‰ ุงู„ู€ terminated state ุฅูŠุด ูŠุนู†ูŠ
202
00:14:54,890 --> 00:14:58,890
ู‡ูŠุณุฑู‘ู„ู‡ู…ุŸ ู‡ูŠุนู…ู„ ู„ู‡ู… killุŒ ู‡ูŠู…ูˆุชู‡ู…ุŒ ูŠุญุฐูู‡ู… ุจู…ุนู†ู‰ ุขุฎุฑ
203
00:14:58,890 --> 00:15:03,550
ูŠุนู†ูŠ ู…ู…ูƒู† ุฃู†ุง ุฃุฑูˆุญ ุฃู†ุดู‚ cashed thread pool ู…ู† ุนุดุฑุฉ
204
00:15:03,550 --> 00:15:09,350
thread ูˆุฃุจุฏุฃ ุนู†ุฏู‡ ููŠ ุงู„ุดุบู„ ุชุจุนูŠ ุฎู„ุงู„ ุฃูˆู„ 60 second
205
00:15:09,350 --> 00:15:14,850
ุซุงู†ูŠุฉ ุงุณุชุบู„ุช ูู‚ุท ู…ู†ู‡ู… ุฃุฑุจุนุฉ ุงู„ุณุช ุงู„ุชุงู†ูŠุฉ ุญูŠู†ุนู…ู„ู‡ู…
206
00:15:14,850 --> 00:15:22,870
ูƒู„ ู…ูŠุฒุฉ ูˆุนูŠุจ ููŠ ู†ูุณ ุงู„ูˆุฌุฏ ู…ูŠุฒุฉ ุฃู† ุฃู†ุง ุจุญุงูุธ ุนู„ู‰ ุงู„ู€
207
00:15:22,870 --> 00:15:27,150
CPU ุชุจุนูŠ ูˆูˆุถุน ุงู„ู€ state ู†ูŠุญุฉ ุจุญูŠุซ ุฃู†ู‡ ู…ุงุจุณุชุบู„ุบุด ุฃูˆ
208
00:15:27,150 --> 00:15:33,750
ู…ุงุจุญุฌุฒุด ูˆุฌุฏ ุฃูˆ space ููŠ ุงู„ู€ memory ุจุฏูˆู† ูุงูŠุฏุฉ ู‡ุฐู‡
209
00:15:33,750 --> 00:15:38,690
ุงู„ู…ูŠุฒุฉ ุงู„ุนูŠุจ ุฃู† ู‡ุฐุง ุจูุฑุถ ุนู„ูŠุง challenge ุฃู†ุง ูƒู€
210
00:15:38,690 --> 00:15:44,830
developer ุฃู† ุฃุนุฑู ูู‚ุท thread ุนู„ู‰ ุญุณุจ ุญุงุฌุชูŠ ุนู„ู‰ ุญุณุจ
211
00:15:44,830 --> 00:15:51,230
ุญุงุฌุชูŠ ุงู„ู†ูˆุน ุงู„ุชุงู„ุช fixed thread pool ุงู„ู€ fixed
212
00:15:51,230 --> 00:15:57,210
thread pool ุฃู†ุง ุจู†ุดูŠ ุนุฏุฏ ุทุจุนู‹ุง ุงู„ุขู† fixed ุนู„ู‰ ุฎู„ุงู
213
00:15:57,210 --> 00:16:02,410
cash ุจู†ุดูŠ ุนุฏุฏ ุซุงุจุช ุฎู…ุณุฉ ุนุดุฑุฉ ุงุณุชุบู„ุช ู…ู†ู‡ู… ุซู„ุงุซุฉ
214
00:16:02,410 --> 00:16:07,450
ุงู„ุจุงู‚ูŠ ุจูŠุจู‚ู‰ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ู‡ูƒุฐุง ุฃู†ุช ุญุงุฌุฒุช CPU ูˆTime ูˆ
215
00:16:07,450 --> 00:16:11,890
memory space ุจุฏูˆู† usage ูˆุจุงู„ุชุงู„ูŠ ููŠ ุงู„ู€ Fixed
216
00:16:11,890 --> 00:16:16,730
Thread Pool ุฃู†ุง ุจุญุฏุฏ ุงู„ุนุฏุฏ ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠู‡ ุนูŠุจู‡ุง ุฃู†
217
00:16:16,730 --> 00:16:21,590
ู„ูˆ ุฃู†ุง ุงุญุชุฌุช ุฃูƒุจุฑ ู…ู† ุงู„ุนุฏุฏ ู…ุง ุฃู‚ุฏุฑุด ุฃุณูˆูŠ ุญุงุฌุฉ ูˆู„ูˆ
218
00:16:21,590 --> 00:16:26,970
ุงุญุชุฌุช ุฃู‚ู„ ุจูƒูˆู† ููŠ ุนู†ุฏูŠ waste ููŠ ุงู„ู€ time Schedule
219
00:16:26,970 --> 00:16:30,550
Thread Pool Schedule ูŠุนู†ูŠ ุฃู†ุง ุจุฏูŠ ุงู„ู€ threads ู‡ุชุชู…
220
00:16:30,550 --> 00:16:37,710
ุฅู†ุดุงุกู‡ุง ุนู†ุฏ ูุชุฑุฉ ุฒู…ู†ูŠุฉ ู…ุญุฏุฏุฉ ุชุจุน ุงู„ุฌุฏูˆู„ ู…ุญุฏุฏ Single
221
00:16:37,710 --> 00:16:42,230
Thread Scheduled Pool Thread ูˆุงุญุฏ ู„ูƒู†ู‡ ูŠูƒูˆู†
222
00:16:42,230 --> 00:16:45,450
Scheduled ู‡ู†ุง ู†ุชูƒู„ู… ุนู† ู…ุฌู…ูˆุนุฉ ูˆู‡ู†ุง ู†ุชูƒู„ู… ุนู† one
223
00:16:45,450 --> 00:16:49,770
thread ุชุนุงู„ ู†ุดูˆู ุจุงู„ู…ุซุงู„ ุฅูŠุด ุงู„ู„ูŠ ู‡ูŠูุฑู‚ ุนู† ุงู„ูƒูˆุฏ
224
00:16:49,770 --> 00:16:55,050
ุงู„ุณุงุจู‚ ุฑูˆุญูƒ
225
00:16:55,050 --> 00:17:01,670
ุจุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุนู†ุฏู†ุง ู‡ู†ุง ูˆู…ุซุงู„ ุจุณูŠุท Executer
226
00:17:01,670 --> 00:17:02,130
Service
227
00:17:04,890 --> 00:17:07,910
executors.new fixed thread pool ูŠุนู†ูŠ ุฃู†ุง ุฑูˆุญ
228
00:17:07,910 --> 00:17:14,190
ุจุงุชุฌุงู‡ ุงู„ู†ูˆุน ุงู„ุชุงู„ุช fixed
229
00:17:14,190 --> 00:17:16,750
thread pool ู…ุนู†ุงุชู‡ ุฃู†ุง ุจุฏูŠุด fixed number of
230
00:17:16,750 --> 00:17:21,410
threads ูˆู‡ูŠูƒูˆู† ู‡ุฏูˆู„ ู…ูˆุฌูˆุฏูŠู† ู„ู„ู€ task ุงู„ู„ูŠ ุจู‚ู‰ ุฃู†ุง
231
00:17:21,410 --> 00:17:27,570
ุจุฏูŠ ุฃุดุชุบู„ ุนู„ูŠู‡ุง ุงู„ุขู† ุฅูŠุด ู‚ู„ุช ู„ู‡ุŸ ู‚ุฏ ุฅูŠุด ุงู„ุนุฏุฏุŸ ุซู„ุงุซุฉ
232
00:17:27,570 --> 00:17:29,470
ูŠุนู†ูŠ ุฃู†ุง ุจุณ ุจุฏูŠ ุงู„ู€ pool ุชุจุนุชูŠ ู…ูƒูˆู†ุฉ ู…ู† three
233
00:17:29,470 --> 00:17:35,810
threads ุงู„ู€ I ู…ู† ูˆุงุญุฏ ู„ุฎู…ุณุฉ ู‡ุงูŠ ุตุงุฑ ููŠ ุนู†ุฏูŠ loop
234
00:17:35,810 --> 00:17:44,330
ููŠ ุฏุงุฎู„ ุงู„ู€ loop ุฃุฎุฏุช counter ุณู…ูŠุชู‡ count ูˆุนุทูŠุชู‡
235
00:17:44,330 --> 00:17:47,770
ู‚ูŠู…ุฉ ุงู„ู€ I ูˆูŠุนู†ูŠ ูˆุงุญุฏุŒ ุงุซู†ูŠู†ุŒ ุซู„ุงุซุฉุŒ ุฃุฑุจุนุฉุŒ ุฎู…ุณุฉ ูƒู„
236
00:17:47,770 --> 00:17:52,510
ู…ุฑุฉ ู‡ูŠุชุบูŠุฑ ูˆูˆุฑุงู‡ุง ู…ุจุงุดุฑุฉ ุงู„ู€ S ุงู„ู„ูŠ ู‡ูŠ ุงู„ู€ executor
237
00:17:52,510 --> 00:18:00,010
service ู‡ุงูŠ dot execute ุฃูŠูˆุฉ
238
00:18:00,590 --> 00:18:07,630
Execute ู‡ุฐู‡ ุจุชุนู…ู„ creation ุฃูˆ ุจุชุนู…ู„ .. ุจุชุฏู‘ูŠ ุงู„ู€
239
00:18:07,630 --> 00:18:12,390
task ู„ู„ู€ thread ูŠุนู†ูŠ ุจุชู†ุดูŠ ุงู„ู€ thread ูˆุจุชุฏู‘ูŠ ุฅูŠุด ุงู„ู€
240
00:18:12,390 --> 00:18:18,170
task ู‚ุจุนุชู‡ ุทูŠุจ ุฅูŠุด ุงู„ู€ new runnable ู‡ุฐู‡ุŸ
241
00:18:18,170 --> 00:18:20,850
ู‡ูŠ ุงู„ู€ interface ุงู„ู„ูŠ ุงุญู†ุง ุดูู†ุงู‡ุง ู‚ุจู„ ู‡ูŠูƒ ุณุงุจู‚ู‹ุง ุจุณ
242
00:18:20,850 --> 00:18:25,070
ุงู„ุขู† ู‡ุฐู‡ anonymous ููŠ ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ object name
243
00:18:25,070 --> 00:18:29,830
ุฏูŠู†ุงู‡ุง ุงุณู… ู„ู…ุง ุฃู†ุง ุฑูˆุญุช ุนู…ู„ุช ุงู„ู€ implement ู„ู„ู€
244
00:18:29,830 --> 00:18:33,990
runnable ุชู…ุงู…ุŸ ุงู„ู€ class ุชุจุนูŠ my runnable ุฃุฎุฏุช ู…ู†ู‡
245
00:18:33,990 --> 00:18:41,050
object ู‡ู†ุง thread new my runnable ุจุฅู…ูƒุงู†ูŠ ูƒู†ุช
246
00:18:41,050 --> 00:18:48,370
ุฃุณุชุบู†ู‰ ุนู†ู‡ุง ูˆู…ุจุงุดุฑุฉ ุฃู‚ูˆู„ ู„ู‡ new runnable ุชู…ุงู…ุŸ
247
00:18:48,370 --> 00:18:51,990
ูˆู…ู† ุซู… ุฃู†ุง ุจุฑูˆุญ ุนู„ู‰ object ุฌุฏูŠุฏ ุฃุชุนุงู…ู„ ู…ุนุงู‡ ูˆ
248
00:18:51,990 --> 00:18:57,820
ุณู…ูŠู†ุง ุงุญู†ุง anonymous object ุชู…ุงู…ุŸ ุงู„ุขู† ุตุงุฑ ููŠ ุนู†ุฏูŠ
249
00:18:57,820 --> 00:19:01,940
anonymous runnable ุตุงุฑ
250
00:19:01,940 --> 00:19:07,580
ููŠ ุนู†ุฏูŠ runnable object ุจุฏูˆู† ุงุณู… ุฃู†ุง ุจุทู„ุช ูŠู‡ู…ู†ูŠ
251
00:19:07,580 --> 00:19:12,020
ุฃุฌุฏู‘ุด ุนุฏุฏ ู…ุฌุฑุฏ ุฃุญู‚ ุงู„ุนุฏุฏ ู‡ู†ุง ูˆุฅู†ุดูŠ ุงู„ู„ูŠ ุจุฏูƒ ูŠุงู‡ ู…ู†
252
00:19:12,020 --> 00:19:17,330
ุงู„ู€ runnable ุทูŠุจ ู„ุญุชู‰ ุงู„ุขู† ุงู„ูƒู„ุงู… general ููŠ ุฏุงุฎู„
253
00:19:17,330 --> 00:19:19,610
ุงู„ู€ code ู‡ูŠ implementation ู„ู„ู€ run method ุงู„ู„ูŠ
254
00:19:19,610 --> 00:19:22,530
ุงุญู†ุง ุดูˆูู†ุงู‡ุง ุณุงุจู‚ู‹ุง ุงู„ู„ูŠ ู‡ูŠ ุนู†ุฏ ุงู„ู€ start ุจุชุชู… ุนู„ูŠู‡ุง
255
00:19:22,530 --> 00:19:26,530
ุงู„ุดุบู„ ู…ุจุงุดุฑุฉ ูˆุงู„ู€ execute ู‡ุชูˆุฌู‡ ุงู„ู€ run hand ู…ุจุงุดุฑุฉ
256
00:19:26,530 --> 00:19:30,610
ููŠ ุฏุงุฎู„ู‡ุง ูƒู†ุช ุจุนู…ู„ ุฌู…ู„ุฉ ุทุจุงุนุฉ ุฃูˆ ุจุทุจุน ููŠ ู„ูˆุจุฉ
257
00:19:30,610 --> 00:19:37,950
ุจุชุนู…ู„ ุฌู…ู„ุฉ ุทุจุงุนุฉ ูู‚ุท thread text ุงู„ู€ count ุงู„ู„ูŠ
258
00:19:37,950 --> 00:19:41,810
ุฃู†ุง ุนุฑูุชู‡ ููˆู‚ writes ูƒุชุจ ูˆู‚ูŠู…ุฉ ุงู„ู€ value ุชุจุน ุงู„ู€ J
259
00:19:41,810 --> 00:19:46,430
ุงู„ู„ูŠ ู‡ูŠ ู…ู† ูˆุงุญุฏ ู„ุนุดุฑุฉ ูˆูˆุฑุงู‡ุง ุจูŠุนู…ู„ sleep ุจู…ู‚ุฏุงุฑ 100
260
00:19:46,430 --> 00:19:53,290
ู…ู„ูŠ second ุชู…ุงู… ุจุณ ุฎู„ุตุช ุงู„ู€ definition ุชุจุนุช ุงู„ู€
261
00:19:53,290 --> 00:20:01,770
execute ุญูŠูุทู„ุน error ู„ูŠุดุŸ ุฅูŠู‡ุŸ ู„ุฃ ู‡ูˆ ุงู„ู€ error ู„ุฅู†ู‡
262
00:20:01,770 --> 00:20:06,610
ู‡ุฐู‡ ู‡ูŠูƒ ู„ุงุฒู… ุชูƒูˆู† .. ุงู‡ ู‡ูŠ ู…ูˆุฌูˆุฏุฉ ุจุณ ุฃู†ุง ู…ุถูŠุน ุงู„ู€
263
00:20:06,610 --> 00:20:12,710
ghost ููŠ ghost ุงู‡ ููŠ ghost ู„ุงุฒู… ุชูƒูˆู† ู‡ู†ุง ุทูŠุจ ู„ุฃ ู…ุด
264
00:20:12,710 --> 00:20:18,170
ู‡ูŠูุทู„ุน error ู„ุฃ ู„ุฃ ู‡ุฐุง ุชุจุนุช ุงู„ู€ main ุงู„ู€ four ู„ุฃู†
265
00:20:18,170 --> 00:20:21,010
ู‡ู†ุงูƒ ุฌู…ู„ุฉ ุชุงู†ูŠุฉ ูˆู‡ู… ุงู„ู„ูŠ ูˆุฑุง ุงู„ู€ four ูู‡ูŠ ุงู„ู†ุงุณ
266
00:20:21,010 --> 00:20:30,070
ุงู„ู„ูŠ ุฌูˆุฒ ุฃูƒุชุจู‡ู… ุงู„ุขู† ู…ุด ู‡ูŠุทู„ุน error ุงู„ู€ ball ุงู„ู„ูŠ
267
00:20:30,070 --> 00:20:34,850
ุฃู†ุง ุฃู†ุดุฃุช ุณุงุนุฉ ูƒู… threadุŸ ุซู„ุงุซุฉ ุซู… ุงู„ู€ task ุงู„ู„ูŠ
268
00:20:34,850 --> 00:20:42,190
ุนู†ุฏูŠ ู„ุฎู…ุณุฉ ุฅูŠุด ู‡ูŠุณุงูˆูŠ ุงู„ุชู†ูŠู† ุงู„ู€ two task ุงู„ุชุงู†ูŠุงุช
269
00:20:42,190 --> 00:20:46,470
ุงู„ู„ูŠ ุฃู†ุดุฃู„ูŠู‡ู… ุงู„ู€ executor ุชู…ุงู…ุŸ ูŠุนู†ูŠ ู‡ูˆ ุงู„ุขู† ุงู„ู„ูˆุจ
270
00:20:46,470 --> 00:20:51,870
ู‡ุชุดุชุบู„ ู‡ุชุดุชุบู„ ู‡ุชู†ูุฐ ุงู„ุฎู…ุณ ู…ุฑุงุช ููŠ ูƒู„ ู…ุฑุฉ ูƒุงู†ุช
271
00:20:51,870 --> 00:20:55,870
ุจุชุฑูˆุญ ุชุญุท ู„ู„ู€ runnable ููŠ ู…ูŠู†ุŸ ููŠ ุงู„ู€ ball ุญุทุช ุงู„ุฃูˆู„
272
00:20:55,870 --> 00:20:59,510
ูˆุงู„ุชุงู†ูŠ ูˆุงู„ุชุงู„ุช ุงู„ุขู† ุตุงุฑ ุงู„ู€ ball full ุฃู†ุช ู„ุฃ ุจุตุจูˆุท
273
00:20:59,510 --> 00:21:05,390
ุณุงุนุชู‡ ุซู„ุงุซุฉ ุฑุงุญุช ูƒู…ุงู† ู…ุฑุฉ ุนู…ู„ุช generate ู„ู„ุฑุงุจุน ุทุจ
274
00:21:05,390 --> 00:21:09,070
ู…ุง ููŠุด ุงู„ูˆุณุน ู†ุญุท ููŠ ุงู„ู€ ball ุจู†ุญุท ููŠ Q ููŠ ุงู„ุงู†ุชุธุงุฑ
275
00:21:09,070 --> 00:21:14,330
ู…ุฌุฑุฏ ุฃู† ุฃูˆู„ ูˆุงุญุฏ ู…ู†ู‡ู… ูŠุฎู„ุต ูŠุฏุฎู„ ุงู„ุฑุงุจุน ูˆูŠู†ุŸ ุนู„ู‰ ุงู„ู€
276
00:21:14,330 --> 00:21:20,810
ball ูˆุงู„ุฎุงู…ุณ ูˆุฑุงู‡ ูˆู‡ูƒุฐุง ู‡ุฐู‡ ู…ูŠุฒุฉ ุงู„ู€ ball ุฏุงุฆู…ู‹ุง ุฃู†ุง
277
00:21:20,810 --> 00:21:25,290
ุจุญุฏุฏ ุนุฏุฏ ู…ุนูŠู† ุทุจุนู‹ุง ู„ูŠุด ุงู„ุนุฏุฏ ู‡ุฐุงุŸ ู„ูŠุด ุฃู†ุง ู…ุญุชุงุฌ ุงู„ู€
278
00:21:25,290 --> 00:21:29,340
ballุŸ ุฃูˆู„ู‹ุง ู„ุฃู† ุฃู†ุง ู…ู…ูƒู† ุฃุญุชุงุฌ ุนุฏุฏ ุงู„ู€ threads ุฃูƒุซุฑ
279
00:21:29,340 --> 00:21:33,480
ู…ู† ุฃู†ูŠ ุฃุฑูˆุญ ุฃุนุฑูู‡ู… ุงู„ู€ Static Threads ููŠ ุฏุงุฎู„ ุงู„ู€
280
00:21:33,480 --> 00:21:35,760
application ุชุจุนูŠ ุตุงุฑ ููŠ ุนู†ุฏูŠ ุงู„ู€ General
281
00:21:35,760 --> 00:21:40,460
Definition ู„ู„ู€ Thread ู‡ุฐู‡ ูˆุงุญุฏ ุงุซู†ูŠู† ู„ุงุฒู… ุฃุญุงูุธ
282
00:21:40,460 --> 00:21:44,020
ุนู„ู‰ ู‚ุฏุฑุฉ ุงู„ู…ุนุงู„ุฌ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏู‡ุง ูˆ ุฃุดุบู„ ุถู…ู† ู‚ุฏุฑุชู‡
283
00:21:44,020 --> 00:21:48,260
ู…ุฑ ุนู„ูŠูƒ ุฃูŠ application ุจุฏูˆู† ู…ุง ูŠุณุฃู„ูƒ ุฃูˆ ูŠูƒูˆู† ู…ุญุฏุฏ
284
00:21:48,260 --> 00:21:52,100
ุงู„ minimum requirement ุณูˆุงุก ู†ุฒู„ุชูŠ office ูˆู„ุง
285
00:21:52,100 --> 00:21:56,130
operating system ูˆู„ุง ุจุฑุงูˆุฒุฑ ูˆู„ุง ุฃูŠ ุญุฏ ูˆู„ุง ุญุชู‰ IDE
286
00:21:56,130 --> 00:21:59,890
ู„ู„ุจุฑู…ุฌุฉ ูƒู„ system ู…ุด ู…ู…ูƒู† ุชูƒุชุจู„ูŠูƒ ุงู„ minimum
287
00:21:59,890 --> 00:22:04,390
requirement ู„ู„ system ู‡ุฐุง ุฃู† ูŠูƒูˆู† ุงู„ู…ุนุงู„ุฌ ูƒุฐุง ุงู„
288
00:22:04,390 --> 00:22:08,130
memory ูƒุฐุง ูˆ ุงู„ space ูƒุฐุง ู‡ุฐุง ู†ูุณ ุงู„ูƒู„ุงู… ุจุฏูŠ
289
00:22:08,130 --> 00:22:11,810
ุฃู‚ุฑุฃู‡ ุฃู†ุง ู‡ุงู† ู„ู…ุง ุฃุดุชุบู„ ููŠ ุงู„ application ุจุดูƒู„
290
00:22:11,810 --> 00:22:16,710
ุนุงู… ุทูŠุจ ู‡ุฐุง ุงู„ุจุฑู†ุงู…ุฌ ุฃูˆ ุงู„ุชูˆุฌู‡ ู‡ุฐุง ุชูˆุฌู‡ ุนุงู… ุฃู†ุช
291
00:22:16,710 --> 00:22:21,390
ู‚ุงุนุฏ ูŠุง ุฏูƒุชูˆุฑุฉ ุจุชุทุจุน ู„ู†ุง ุฌู…ู„ุฉ ุทุจุงุนุฉ ู‡ุงู†ูˆ ุจุณุŒ ุฅูŠุด
292
00:22:21,390 --> 00:22:25,470
ุฃู†ุง ุงู„ู…ูุฑูˆุถ ุฃุณุงูˆูŠุŸ ุชุฎูŠู„ ุฅูŠู‡ ุฅู†ู‡ ุงู„ุขู† ุฃู†ุช ุนู†ุฏูƒ
293
00:22:25,470 --> 00:22:34,950
array ู…ู† 100 ุฃู„ู element integer ู…ู„ูŠูˆู†
294
00:22:34,950 --> 00:22:41,630
elementุŒ ู…ุด ู‡ุฎุณุฑ ูˆู„ุง ุญุงุฌุฉ ุฃู†ุง ุฃูƒูŠุฏ ููŠ
295
00:22:41,630 --> 00:22:47,250
ุนู†ุฏูŠ array ุญุฌู…ู‡ุง ู…ู„ูŠูˆู† element integer ูˆุจุชุฏุฑุญ ุฃุฌูŠุจ
296
00:22:47,250 --> 00:22:53,200
ุงู„ average ุชุจุนุชู‡ุง ู…ุงุฐุง ุฃูุนู„ุŸ ุฅุฐุง ูƒู†ุช ุชุนู…ู„ ุนู„ู‰ ุฎุทูˆุฉ
297
00:22:53,200 --> 00:22:57,220
ูˆุงุญุฏุฉ ูŠุนู†ูŠ ุฃู†ูƒ ุชู‚ูˆู„ ู„ู‡ ู‡ุชุงุฎุฏ ูˆุฌู‡ุฉ ุทูŠุจ ู…ู…ูƒู† ุฃู†ุง
298
00:22:57,220 --> 00:23:02,260
ุฃุฑูˆุญ ุฃุฌุณู…ู‡ู… ุนู„ู‰ ุฎู…ุณ ุฎุทูˆุงุช ุฃู†ุง ุจุฏูŠ ุฃุญุทูƒ ููŠ ุตูˆุฑุฉ ูƒูŠู
299
00:23:02,260 --> 00:23:06,000
ู…ู…ูƒู† ุฃู†ุง ุจุฏูŠ ุฃุดุชุบู„ ู‡ู†ุง ุทุจุนุง ููŠ ุงู„ุจุฏุงูŠุฉ ู‡ูŠ ุงู„ู‚ุฑูŠุฉ
300
00:23:06,000 --> 00:23:12,080
ุชุจุนุชูŠ ุงู„ integer x
301
00:23:12,080 --> 00:23:14,980
new integer
302
00:23:18,160 --> 00:23:20,580
ุจุบุถ ุงู„ู†ุธุฑ ุนู† ุงู„ู€ syntax ูˆูƒูŠู ุจุฏูŠ ุฃุนู…ู„ู‡ุง
303
00:23:20,580 --> 00:23:25,220
initialization ุฒูŠ ู…ุง ุจุฏูƒ ุชุณู…ูŠู‡ุง ุตุงุฑุช ุงู„ู€ array
304
00:23:25,220 --> 00:23:29,440
ุนู†ุฏูŠ ุฌุฒุก ู…ู† ุงู„ application ุงู„ array ุฌุฒุก ู…ู† ุงู„
305
00:23:29,440 --> 00:23:33,760
application ูˆุฑูˆุญู†ุง ุงุญู†ุง ุงู„ array ุฌุฒุก ู…ู† ุงู„
306
00:23:33,760 --> 00:23:38,860
application ููŠ ุฏุงุฎู„ ุงู„ run ู‡ู†ุง ุฃู†ุง ุนุงู…ู„ ุญุณุงุจูŠ ุจุฏูŠ
307
00:23:38,860 --> 00:23:42,000
ุฃุนุฏู„ ุงู„ application ุชุจุนูŠ ู‡ู†ุง ู„ five threads ุนุดุงู†
308
00:23:42,000 --> 00:23:46,200
ูƒู„ู‡ู… ูŠุดุชุบู„ูˆุง ุฅูŠุด ุจุชุชูˆู‚ุนูŠ ู…ู…ูƒู† ุฃุณูˆูŠ ุฃู†ุงุŸ ุจุฏูŠ ุฃูƒุชุจ
309
00:23:46,200 --> 00:23:51,790
code ุฃุจุฏุฃ ุฃุฌุณู… ุญุฌู… ุงู„ู€ R ุนู„ู‰ ูƒู„ thread ูŠุนู†ูŠ ุงู„ุฃูˆู„
310
00:23:51,790 --> 00:23:56,310
ูŠุนู†ูŠ ุจุงู„ุฐู†ุจ ุฃุนู…ู„ switch case ุจุงู„ู…ู†ุงุณุจุฉ ู…ุตุจูˆุท ุฃูˆ
311
00:23:56,310 --> 00:23:59,130
ุจุงู„ุฐู†ุจ ุฏุงุฆู…ุง ุฃุนู…ู„ iterator ุนุดุงู† ุฃูˆ ุนููˆุง counter
312
00:23:59,130 --> 00:24:04,150
ุนุดุงู† ุฃุนุฑู ู…ู† ูˆูŠู† ุจุฏูŠ ูŠุจุฏุฃ ู„ู…ุง ุชูƒูˆู† ุงู„ I equal ูˆุงุญุฏ
313
00:24:04,150 --> 00:24:10,450
ุจุฏูŠ ุฃุจุฏุฃ ู…ู† ูˆูŠู† ุงู„ thread ุงู„ุฃูˆู„ ุจุฏูŠ ุฃุจุฏุฃ ู…ู† ุตูุฑ ุงู‡
314
00:24:10,450 --> 00:24:13,490
ูŠุนู†ูŠ ู‡ุฏูˆู„ ู…ู„ูŠูˆู† ุฃูˆ ู…ุงุฆุฉ ุฃู„ู ู…ู„ูŠูˆู† ูŠุนู†ูŠ ุจุชูƒู„ู… ุนู„ู‰
315
00:24:13,490 --> 00:24:19,400
ู…ุงุฆุชูŠู† ุฃู„ู ู…ุตุจูˆุท ู†ุตูŠุจ ูƒู„ ูˆุงุญุฏ ููŠู‡ู… ู…ู† ูˆุงุญุฏ ู„ู€
316
00:24:19,400 --> 00:24:26,420
199999 ู…ู† ุตูุฑ ู„ู€ 199999 ู‡ุฐุง ู†ุตูŠุจ ุงู„ thread ุงู„ุฃูˆู„
317
00:24:26,420 --> 00:24:30,980
ุงู„ุชุงู†ูŠ ูŠุฏุฑุณ ุงู„ counter ุงู„ู„ูŠ ูŠุจุฏุฃ ููŠู‡ ู„ู…ุง ูŠุดุชุบู„
318
00:24:30,980 --> 00:24:35,200
ู…ุนู„ูˆู‚ ู‡ูŠ ู†ูุณ ุงู„ู‚ุฑูŠุฉ ุงู„ู…ูˆุฌูˆุฏุฉ ุนู†ุฏ ุงู„ุชู†ูŠู† ุชู…ุงู…ุŸ
319
00:24:35,200 --> 00:24:38,680
ูˆุงู„ุชุงู„ุช ูˆุงู„ุฑุงุจุน ูˆุงู„ุฎุงู…ุณ ู…ุนู†ุงุชู‡ ุฃู†ุง ุจู„ุฒู… ู†ู‡ุงุฑ ุงู…ุง
320
00:24:38,680 --> 00:24:42,420
ุฃุนู…ู„ if statement ุฃูˆ switch ูŠุนู†ูŠ switch ู„ู„ count ู„ู„
321
00:24:42,420 --> 00:24:47,770
count ุนุดุงู† ุฃุญุฏุฏ ุฌูˆุง ูƒู„ case ู…ู† ุฃูŠู† .. ุนู„ู‰ ุงู„ุฃู‚ู„ ุงู„ู€
322
00:24:47,770 --> 00:24:51,710
pointer ุชุจุนู‡ุง ู…ู† ุฃูŠู† ุจุฏู‡ ูŠุจุฏุฃ ูˆุจุนุฏ ุงู„ switch case
323
00:24:51,710 --> 00:24:56,190
ู‡ุฐู‡ ุจุจุฏุฃ ุฃุฑูˆุญ ุฃู‚ูˆู„ู‡ ุฃุนู…ู„ summation ู‡ูŠูƒ ุจุฏู‡ ูŠุจุฏุฃ
324
00:24:56,190 --> 00:25:01,690
ุงู„ุจุฑู†ุงู…ุฌ ุชุจุนูŠ ูŠุนู†ูŠ ู‡ูŠูƒุŒ ุญุฑุฌ ุฃู‚ูˆู„ู‡ ู…ุซู„ุง switch ุงู„
325
00:25:01,690 --> 00:25:05,630
count case
326
00:25:05,630 --> 00:25:15,410
1 ุงู„ index ูŠุณุงูˆูŠ 0 ุงู„ index ูŠุณุงูˆูŠ 0 ูˆู‡ูŠ break ุฎู„ุตู†ุง
327
00:25:15,410 --> 00:25:24,930
ู„ูˆ ูƒุงู†ุช ุงู„ case 2 ุงู„ index ูŠุณุงูˆูŠ 200000 ู…ุตุจูˆุท ูˆ
328
00:25:24,930 --> 00:25:28,110
ุงู„ุชุงู„ุชุฉ ูˆ ู„ู…ุง ููŠ ุงู„ุขุฎุฑ ุจุฎู„ุต ู‡ุฑูˆุญ ุฃู‚ูˆู„ ู„ู‡ ุงู„ sum
329
00:25:28,110 --> 00:25:33,250
equals 0 for ุนู…ู‘ุงู„ iteration ุงู„ุขู† ู…ู† ุฃูŠู† ุจุฏุฃุช
330
00:25:33,250 --> 00:25:39,670
ุชุจุฏุฃูŠุŸ ู…ู† ุนู†ุฏ ุงู„ index ุงู„ integer I equal ุงู„ index
331
00:25:39,670 --> 00:25:41,170
ุฅู„ู‰
332
00:25:42,740 --> 00:25:44,940
ุงู„ู€ maximum value ุงู„ู„ูŠ ู‡ุชุถูŠู ุนู„ูŠู‡ู… ุงู„ู€ 200 ุฃู„ู
333
00:25:44,940 --> 00:25:51,260
ุงู„ุชุงู†ูŠุงุช ู†ุตูŠุจู‡ ู„ุญุฏ ุขุฎุฑ ูˆุงุญุฏ ุงู„ sum plus ุงู„ S plus
334
00:25:51,260 --> 00:25:57,240
equal ุงู„ array ุงู„ู„ูŠ ู‡ูŠ X ุณู…ูŠู†ุงู‡ุง God of I ูˆุจุนุฏ ู‡ูŠูƒ
335
00:25:57,240 --> 00:25:58,560
ุจุชุฑูˆุญ ุงู„ A ุจุชุญุณุจูŠู‡ ู„ู„ average
336
00:26:02,250 --> 00:26:05,930
ู„ุฃ ู„ุฃ for loop ูˆุงุญุฏุฉ ู„ูŠุด ุชูƒุชุจ ุฃูƒุซุฑ ู…ู† for loop ุฃู†ุช
337
00:26:05,930 --> 00:26:10,470
ุงู„ case ุจุณ ุนุดุงู† ูŠุงุฎุฏ ู…ูŠู† ูŠุงุฎุฏ ุงู„ index ูˆ ุงู„ุขู† ุจุนุฏ
338
00:26:10,470 --> 00:26:14,030
ู‡ูŠูƒ ูŠุจุฏุฃ ูƒู„ loop ุจุชุจุฏุฃ ู…ู† ูˆูŠู† ุจู†ุงุก ุนู„ู‰ ู‚ูŠู…ุฉ ุงู„
339
00:26:14,030 --> 00:26:17,230
index ุฃู†ุช ุจุญุงุฌุฉ ู„ code ูˆุงุญุฏ ู„ู…ุฑุฉ ูˆุงุญุฏุฉ ู‡ุฐุง ุงู„ูƒู„ุงู…
340
00:26:17,230 --> 00:26:20,030
ุฃู†ุช ุงู„ู„ูŠ ู„ุงุฒู… ุชุจุฏุฃ ุชููƒุฑ ููŠู‡ ู„ุฃู†ู‡ ุญุณุจ ุทุจูŠุนุฉ ุงู„
341
00:26:20,030 --> 00:26:23,890
application ู‡ูŠ ุงู„ู„ูŠ ุจุชูุฑุถ ุนู„ูŠูƒูŠ ู…ุซู„ุง ุฃู†ุง ููŠ ุนู†ุฏูŠ
342
00:26:23,890 --> 00:26:28,890
ูˆุงู„ู„ู‡ ุนุดุฑ ู…ู„ูุงุช ุฃุญุฌุงู…ู‡ู… ู…ุฎุชู„ูุฉ ูˆูƒู„ ู…ุฑุฉ ุฃุจุฏุฃ ุฃู‚ุฑุฃ
343
00:26:28,890 --> 00:26:32,950
ู…ู„ู ู…ุฎุชู„ู ุชู…ุงู…ุŸ ุทุจ ุฃู†ุง ุฃุฎู„ูŠู‡ู… ุงู„ thread ูˆุงุญุฏ ุงู„ู„ูŠ
344
00:26:32,950 --> 00:26:35,470
ูŠู‚ุฑุฃู‡ู… ูˆู„ุง ุฃุนู…ู„ ุนุดุฑุฉ thread ูƒู„ู‡ู… ูŠูˆู… ูˆูƒู„ ูˆุงุญุฏ
345
00:26:35,470 --> 00:26:39,910
ูŠู‚ุฑุฃ ู…ู„ู ุนุดุฑุฉ thread ู…ู…ูƒู† ู…ุง ูŠุตูŠุฑุด ุจุญุงุฌุฉ ู„ุฃ ุงู† ุงุนู…ู„
346
00:26:39,910 --> 00:26:44,130
loop ุชู…ุงู…ุŸ ุจุณ ุฃุนูŠุฏ ุถุจุท ุชุณู…ูŠุฉ ุงู„ .. ุฃูˆ ู…ู…ูƒู† ุฃุนู…ู„ ุงู„
347
00:26:44,130 --> 00:26:48,870
loop ู†ูุณู‡ุง ูˆ ุฃุนูŠุฏ ุถุจุท ุงุณู… ุงู„ู…ู„ู ูˆ ุฃุถูŠู ุนู„ูŠู‡ ุงู„ุฑู‚ู…
348
00:26:48,870 --> 00:26:52,670
ุจุณ ุชุจุน ุงู„ index ุนุดุงู† ุฃุธู„ ู…ุงุดูŠุฉ ูุฃู†ุช ูƒูŠู ุจุฏูŠ ุชูƒูˆู†
349
00:26:52,670 --> 00:26:55,130
ุงู„ุจุฑู†ุงู…ุฌ ุบูŠุฑ ุงู„ุตูˆุฑุฉ ุงู„ุชู‚ู„ูŠุฏูŠุฉ ุฃูˆ ุงู„ุจุณูŠุทุฉ ุงู„ู„ูŠ ุงุญู†ุง
350
00:26:55,130 --> 00:26:59,560
ุจู†ุญู† ู†ูˆุตู„ูƒ ุงู„ููƒุฑุฉ ููŠู‡ุงุŸ ู‡ุชูƒูˆู† ุงู„ุฃู…ูˆุฑ ุชู…ุงู… ุทูŠุจ ู†ุฑุฌุน
351
00:26:59,560 --> 00:27:03,320
ู„ู…ุซุงู„ู†ุง ู‡ุฐุง ุนุดุงู† ู†ูƒู…ู„ ููŠ ู…ุซุงู„ู†ุง ู‡ุฐุง ุฅูŠุด ุงู„ู„ูŠ
352
00:27:03,320 --> 00:27:10,760
ู‡ูŠู‚ุนุŸ ู‡ูŠูƒุชุจ ู„ thread ุงู„ count ู…ุซู„ุง ูˆุงุญุฏ write
353
00:27:10,760 --> 00:27:16,660
ูˆุงุญุฏ ุงู„ุขู† ู…ุด ุถุฑูˆุฑูŠ ู…ุจุงุดุฑุฉ ุงูƒุชุจ ู„ thread ูˆุงุญุฏ write
354
00:27:16,660 --> 00:27:22,810
ุงุซู†ูŠู† ูˆูŠู…ูƒู† ูŠูƒุชุจู‡ุง ู…ู…ูƒู† ู„ูƒู† ุจุนุฏู‡ุง ู‡ุชู„ุงู‚ูŠ thread 2
355
00:27:22,810 --> 00:27:28,230
write 1 thread 3 write 1 thread 1 write 3 thread 2
356
00:27:28,230 --> 00:27:34,610
write 4 write 5 ูˆู‡ูƒุฐุง ู„ูƒู† ุงู„ู„ูŠ ู‡ุชุดูˆููŠู‡ู… ู‡ุงู† ูˆุงุญุฏ
357
00:27:34,610 --> 00:27:40,490
ูˆ ุงุซู†ูŠู† ูˆ ุซู„ุงุซุฉ ูู‚ุท ู„ู…ุชู‰ ู„ุญุฏ ู…ุง ุชุฎู„ุต ุงู„ loop ู‡ุฐู‡
358
00:27:40,490 --> 00:27:47,660
ุจูŠูƒูˆู† ูˆุงุญุฏ ู…ู† ุงู„ threads ู‡ุชุฎู„ุต ุจุชุจุฏุฃ ุชุดูˆู ุฃุฑุจุนุฉ
359
00:27:47,660 --> 00:27:52,800
ู„ุฃู†ู‡ ุจู…ุฌุฑุฏ ุฃู†ู‡ ุฏุฎู„ู‡ุงู† ุญุงูˆู„ ูŠุนู…ู„ execute ู…ุง ู„ู‚ูŠุด
360
00:27:52,800 --> 00:27:56,180
space ููŠ ุงู„ ball ูุงุดุฑุญ ุณูˆุง ุนู…ู„ pause ุงู„ counter
361
00:27:56,180 --> 00:28:01,640
ุฒุงุฏ ูุนู…ู„ ูˆ ุฌูุช pause ูˆุจุงู„ุชุงู„ูŠ ู…ุด ุญุงุฌุฉ ูŠู‚ุฏุฑ ูŠูƒู…ู„ ุฃูˆ
362
00:28:01,640 --> 00:28:04,380
ุญุทู‡ู… ููŠ ุงู„ queue ูุฃุฑุจุนุฉ ุฃูˆ ุฎู…ุณุฉ ู‡ุชุดูˆููŠู‡ู… ุงุชุจุงุนุง
363
00:28:04,380 --> 00:28:09,060
ู„ูƒู† ุจุนุฏ ู…ุง ุญุฏ ูŠุฎู„ุต ู…ู† ู‡ุฏูˆู„ ุงู„ุชู„ุงุชุฉ ุงู„ู„ูŠ ููŠ ุงู„ุฃูˆู„
364
00:28:09,060 --> 00:28:14,560
ุงู„ุขู† ู‡ุฐุง ุงู„ูƒู„ุงู… ู‡ูˆ
365
00:28:15,820 --> 00:28:20,480
ุฒุจุฏุฉ ู„ู€ threads ุชู…ุงู…ุŸ ูˆ ู„ุงุฒู… ุงุญู†ุง ู†ุญุงูˆู„ ู†ูู‡ู…ู‡ ุจุดูƒู„
366
00:28:20,480 --> 00:28:25,720
ูˆุงุถุญ ููŠ ุนูŠูˆุจ ุงู„ุขู† ุงู„ุนูŠุจ ุงู„ุฃูˆู„ .. ุงู„ุนูŠุจ ุงู„ุฃูˆู„ ููŠ
367
00:28:25,720 --> 00:28:29,360
ุญุงู„ุฉ ุฒูŠ ู‡ุฐู‡ ุฃู†ุง ู…ุง ููŠุด ุนู†ุฏ return data ุนุดุงู† ุฃู‚ุฏุฑ
368
00:28:29,360 --> 00:28:33,680
ุฃุฎุฏ ุงู„ู‚ูŠู…ุฉ ุงู„ู„ูŠ ุญุณุจุชู‡ุง ูˆู‡ุฐุง ุจุชุฏูุนู†ูŠ ุฃู† ุฃุฑูˆุญ ุฃุนุฑู
369
00:28:33,680 --> 00:28:37,960
global variable ุฃูˆ ุฃุตุฑ ุฃุฎุฏ ุงู„ value ูˆ ุฃุญุทู‡ ููŠ ุงู„
370
00:28:37,960 --> 00:28:39,700
global variable ุทุจ ุงุญู†ุง ุนุงุฑููŠู† ุฃู† ุงู„ global
371
00:28:39,700 --> 00:28:43,340
variable ุนู„ูŠู‡ุง ู…ุดุงูƒู„ ุฏุงุฆู…ุง ูˆ ู„ุง ูŠุญุจ ุชุณุชุฎุฏู…ู‡ุง
372
00:28:44,740 --> 00:28:51,140
ุงุซู†ูŠู†ุŒ ู„ูˆ ุตุงุฑ ููŠ ุนู†ุฏูŠ ุฃูŠ ู…ุดูƒู„ุฉ ููŠ ุฏุงุฎู„ ุงู„ู€ run ูˆ
373
00:28:51,140 --> 00:28:55,200
ุฃู†ุง ู…ุด ุนุงู…ู„ try ูˆ catchุŒ ู…ุด ู‡ู‚ุฏุฑ ุฃุดูˆู .. ู…ุด ู‡ูƒู…ู„
374
00:28:55,200 --> 00:29:01,240
ูˆ ู…ุด ู‡ุนุฑู ุฃูŠ thread ุงู„ู„ูŠ ูˆุงู‚ูุŒ ุนุดุงู† ู‡ูŠูƒุŒ ุฑุงุญูˆุง
375
00:29:01,240 --> 00:29:05,680
ุจุงุชุฌุงู‡ interface ู…ุฎุชู„ู ุชู…ุงู…ุง ุนู† ุงู„ู€ runnable ุฑุงุญูˆุง
376
00:29:05,680 --> 00:29:09,100
ุจุงุชุฌุงู‡ interface ู…ุฎุชู„ู ุชู…ุงู…ุง ุนู† ุงู„ู€ runnable ุญู‚ู‚
377
00:29:09,100 --> 00:29:12,960
ููŠู‡ ุงู„ู…ุณุชู† ุฃูˆ ุนุงู„ุฌูˆุง ููŠู‡ ุงู„ู„ุนุจูŠู† ุงู„ู„ูŠ ู‚ู„ู†ุง ุนู„ูŠู‡ู…
378
00:29:12,960 --> 00:29:23,160
ุงู„ return data ูˆ ุงู„ exception handling ุงู„ุขู† ุงู„ุดุบู„
379
00:29:23,160 --> 00:29:28,440
ุงู„ุณุงุจู‚ ุงู„ู„ูŠ ู‡ูˆ ููŠ ุงู„ู…ุซุงู„ ู‡ุฐุง ุชู‚ุฑูŠุจุง ู†ูุณู‡ ู…ุน ูุงุฑู‚
380
00:29:28,440 --> 00:29:36,830
ุจุณูŠุท ุฌุฏุง ุฃู† ุงู„ุขู† ู‡ุฐุง ุจูŠุตูŠุฑ callable ูˆุงู„ู€ method
381
00:29:36,830 --> 00:29:41,770
ุงุณู…ู‡ุง call ุจุฏู„ run ุจุฏู„ execute ู‡ุชูƒูˆู† ููŠ ุนู†ุฏูŠ
382
00:29:41,770 --> 00:29:47,150
submit ูˆู‡ุชูƒูˆู† ููŠ ุนู†ุฏูŠ return data ู…ู† ู†ูˆุน future
383
00:29:47,150 --> 00:29:50,710
ุญู„ู‚ุฉ
384
00:29:50,710 --> 00:29:55,030
ู†ุชูƒู„ู… ููŠ ุงู„ุชูุงุตูŠู„ ูŠุนู†ูŠ ุงู„ุขู† ุงู„ code ุงู„ุณุงุจู‚ ู‡ูŠู†ุถุงู
385
00:29:55,030 --> 00:29:59,210
ุนู„ูŠู‡ ุดุบู„ุงุช ุจุณูŠุทุฉ ุชุญู‚ู‚ ุฃูˆ ุชุนุงู„ุฌ ุงู„ุนูŠุจูŠู† ุงู„ู„ูŠ ุญุงูƒูŠู†ุง
386
00:29:59,210 --> 00:30:03,370
ุนู„ูŠู‡ู… ุงู„ุฃูˆู„ู‰ ุฃู† ุงู„ callable interface ู‡ูˆ ุนุจุงุฑุฉ ุฃูˆ
387
00:30:03,370 --> 00:30:08,090
ุงุณุชุฎุฏู… generic ุนุดุงู† ูŠุนู…ู„ return ู„ data type ุฅูŠุด
388
00:30:08,090 --> 00:30:12,070
genericุŸ ุนุงู… ูŠุนู†ูŠ ุจูŠุธุจุท ู…ุน ุงู„ integer ูˆ ุจูŠุธุจุท ู…ุน
389
00:30:12,070 --> 00:30:14,650
ุงู„ string ูˆ ุจูŠุธุจุท ู…ุน ุงู„ employee student .. ุงู„
390
00:30:14,650 --> 00:30:17,110
employee object ูˆ ู…ุน ุงู„ student object .. ู…ุน ุฃูŠ
391
00:30:17,110 --> 00:30:22,830
ุญุงุฌุฉ ุงู„ executor ู‡ุชู†ูุฐู„ูŠ .. ูŠูˆูุฑุทู„ูŠ ู…ุฌู…ูˆุนุฉ ุฃูˆ
392
00:30:22,830 --> 00:30:27,810
method ุนุดุงู† ุชู†ูุฐ ุงู„ callable ุงู„ู„ูŠ ุงุณู…ู‡ุง submit
393
00:30:27,810 --> 00:30:32,850
ู‡ู†ุดูˆูู‡ุง ููŠ ุงู„ code ูƒู…ุงู† ุดูˆูŠุฉ ููŠ ุญูŠู† ุณุงุจู‚ุง ู…ุน ุงู„
394
00:30:32,850 --> 00:30:35,750
runnable ุงุณู…ู‡ุง execute
395
00:30:38,360 --> 00:30:45,300
one ุทูŠุจ ุงู„ู€ callable ุจุนู…ู„ return ู„ object ู…ู† ู†ูˆุน
396
00:30:45,300 --> 00:30:50,120
future object ู…ู† ู†ูˆุน future ุฃูˆู„ ู…ุฑุฉ ู†ุณู…ุน ุนู† data
397
00:30:50,120 --> 00:30:53,820
type ุงุณู…ู‡ุง future ุตุญุŸ ุฃูˆ ุงู„ future ู‡ุฐุง ู‡ูŠ ุนุจุงุฑุฉ ุนู†
398
00:30:53,820 --> 00:30:57,800
container ุจุชุญุท ููŠู‡ ุฃูŠ data type ุนุดุงู† ู‡ูŠ ุงุณู…ู‡ุง
399
00:30:57,800 --> 00:31:01,560
generic ูˆุญู†ุดูˆู ุฒูŠ ู…ุง ุดูˆูู†ุง ู…ุน ุงู„ array list ุฃูˆ ู…ุน
400
00:31:01,560 --> 00:31:04,780
ุงู„ collections ุฅูŠุด ูƒุงู†ุช ู…ูŠุฒุฉ ุงู„ collections ุฃู†ู€ู‡ุง
401
00:31:04,780 --> 00:31:12,210
generic ุจุชุงุฎุฏ ุฃูŠ data types ู‡ูˆ ูƒุงู†ุช object ุบู„ุท
402
00:31:12,210 --> 00:31:16,310
ุจุชุงุฎุฏุด ุงู„ู„ูŠ ุบูŠุฑ reference data type ุฃูŠูˆุฉ ู…ุง ุจุชุงุฎุฏ
403
00:31:16,310 --> 00:31:20,130
ุฃูŠูˆุฉ ุจุชุงุฎุฏ ุงู„ wrapper class ุชุจุน ุงู„ primitive data
404
00:31:20,130 --> 00:31:23,750
ุชุนุงู„ ู†ุดูˆู ุงู„ code ู…ุง ุถู„ุด ููŠู‡ ูƒู„ุงู… ู†ุธุฑ ูƒุซูŠุฑ ุงู‡ ุฅุฐุง
405
00:31:23,750 --> 00:31:27,230
ุฃู†ุง ุจุฏูŠ ุงู„ value ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุฃูˆ ุงู„ู„ูŠ ุชู… ุชุฎุฒูŠู†ู‡ุง ููŠ
406
00:31:27,230 --> 00:31:33,050
ุงู„ future ููŠ ุนู†ุฏูŠ method ุงุณู…ู‡ุง get ูˆ ุจุชุฑุฌุน ุจุงู„
407
00:31:33,050 --> 00:31:37,960
data type ุงู„ู„ูŠ ุชู… ุฅู†ุดุงุก ุงู„ู€ future ุนู„ูŠู‡ุง ุชุนุงู„ ู†ุดูˆู
408
00:31:37,960 --> 00:31:44,360
ุงู„ code ุงู„ุจุณูŠุท ู‡ุฐุง ุงู†ุณูŠู„ูŠ ุงู„ future ููŠ ุงู„ุฃูˆู„
409
00:31:44,360 --> 00:31:48,300
executor dot new single thread executor ู†ูุณ ุงู„
410
00:31:48,300 --> 00:31:50,660
code ุงู„ู„ูŠ ุงุญู†ุง ุดูู†ุงู‡ ุณุงุจู‚ุง ุจุณ ูƒุงู† ู…ุน thread pool
411
00:31:50,660 --> 00:31:57,380
ู…ุธุจูˆุท ู…ู† ุซู„ุงุซุฉ ุงู„ุขู† ุฅูŠุด ู†ูˆุนู‡ุง future ูˆ ุจุชุนู…ู„
412
00:31:57,380 --> 00:32:02,280
wrapper class ู„ู„ integer ูˆุงุณู…ู‡ F dot
413
00:32:04,270 --> 00:32:07,570
ูƒู…ู„ ุงู„ู€ definition ู‡ุฐุง dot submit ูŠุนู†ูŠ ู‡ุฐุง ูƒู„ ูŠุงุชู‡
414
00:32:07,570 --> 00:32:12,730
ุงู„ code ู‡ุฐุง ุงู„ู„ูŠ ู‡ุงู† ู‡ูˆ ุนุจุงุฑุฉ ู„ุญุฏ ุงู„ู„ูŠ ู‡ุงู† ู‡ูŠูƒ ููŠ
415
00:32:12,730 --> 00:32:19,890
ุชุนุฑูŠู ุงู„ future ุงู„ู„ูŠ ุนู†ุฏูŠ ููˆู‚ ุงู„ุขู† ุงุญู†ุง ู‚ู„ู†ุง ุณุงุจู‚ุง
416
00:32:19,890 --> 00:32:27,590
execute dot execute ูˆ
417
00:32:27,590 --> 00:32:32,230
ูƒู†ุช ุจุฏู‘ู„ู‡ new runnable ู…ุธุจูˆุทุŸ
418
00:32:33,200 --> 00:32:36,900
ุงู„ุขู† ุฃู†ุง ุฑูˆุญ ุฃุฏุฎู„ ุงู„ู€ new callable ูˆ ุงู„ู€ callable
419
00:32:36,900 --> 00:32:39,560
ุจุฏู‡ data type ุชุชูˆุงูู‚ ู…ุน ุงู„ future ุงู„ู„ูŠ ุฃู†ุง ุจุฏู‡ ุขุฎุฏ
420
00:32:39,560 --> 00:32:44,620
ู…ู†ู‡ ุงู„ data ุทูŠุจ ุงู„ callable ุนู…ู„ override ุฃูˆ ุฌุงู„
421
00:32:44,620 --> 00:32:48,140
ูŠุนู…ู„ override ู„ู„ู€ method ุงู„ู„ูŠ ุงุณู…ู‡ุง call ูˆู„ุงุฒู…
422
00:32:48,140 --> 00:32:51,620
ุชุชูˆุงูู‚ ู…ุน ู†ูุณ ุงู„ู€ data type ุชุจุนุช ุงู„ู€ callable ุงู„ู„ูŠ
423
00:32:51,620 --> 00:32:55,470
ุจุชูˆุงูู‚ ู…ุน ุงู„ู€ data type ุงู„ุฎุงุตุฉ ู„ุฃู† ููŠ ุงู„ุขุฎุฑ ุงู„ู€
424
00:32:55,470 --> 00:32:58,550
callable ู‡ูŠ ุงู„ู„ูŠ ู‡ุชุนู…ู„ return ู„ู„ู€ data ู‡ูŠุณู„ู…ู‡ุง ุงู„ู€
425
00:32:58,550 --> 00:33:01,770
callable ูˆูŠู…ุฑุฑู‡ุง ู„ู…ูŠู†ุŸ ู„ู„ู€ future ูˆุฃู†ุช ุจุฏูƒ ุชุงุฎุฏ ุงู„ู€
426
00:33:01,770 --> 00:33:09,070
result ู…ู† ุงู„ู€ future ุงู„ุขู† ููŠ ุฏุงุฎู„ู‡ุง ูู‚ุท ุฃู†ุง ุนู…ู„ุช
427
00:33:09,070 --> 00:33:13,830
ู‡ู†ุง ู…ุซุงู„ ุจุณูŠุท ุฌุฏุง ุจุฏูŠ ุฃุนู…ู„ return ู„ู€ 115 ุงู„ู„ูŠ 23 ุถุฑุจ
428
00:33:13,830 --> 00:33:20,720
5 ูˆู„ุง ุชู†ุณู‰ ุฅู†ู‘ู‡ุง ุญุฏุซุช ุฅู† ู„ุฏูŠ hand ุตุงุฑุช ุชุนู…ู„ throw
429
00:33:20,720 --> 00:33:23,800
ู„ู€ exception ูŠุนู†ูŠ ู„ูˆ ุญุฏุซ ุฃูŠ exception ู‡ู†ุง ููŠ ุฏุงุฎู„
430
00:33:23,800 --> 00:33:27,560
ุงู„ู€ call ุจู‚ู‰ ุฃุดูˆูู‡ ุจูŠู†ู…ุง ููŠ ุงู„ู€ run ู…ุงูƒู†ุชุด ู…ู‚ุฏุฑ ุฃุณูˆูŠ
431
00:33:27,560 --> 00:33:34,820
ู‡ูŠูƒ ุดุบู„ ุชู…ุงู… ุฎู„ุตู†ุง ู‡ุฐุง ุนู„ู‰ one thread ู„ูˆ ุฃู†ุง ุจุฏูŠ
432
00:33:34,820 --> 00:33:38,960
ุฃุนู…ู„ pool ู†ูุณ ุงู„ูƒู„ุงู… ู…ุง ููŠุด ู…ุดูƒู„ุฉ ุนู†ุฏูŠ ู‡ุชุนู…ู„ loop
433
00:33:38,960 --> 00:33:44,660
ูˆูƒู„ ูˆุงุญุฏุฉ ู‡ุชุฑุฌุน ุจู€ data type ุจุฏู„ ุงู„ู€ result ุงู„ุขู† ู‡ุงูŠ
434
00:33:44,660 --> 00:33:49,140
ุงู„ู€ result ู…ุด ุงุญู†ุง ุงุชูู‚ู†ุง ุฅู† ุงู„ู€ result ุงู„ู„ูŠ ู‡ุชุฑุฌุน
435
00:33:49,140 --> 00:33:55,320
ููŠู‡ุง ุงู„ู€ call method ู‡ุชุชุฎุฒู† ูˆูŠู†ุŸ ููŠ ุงู„ู€ future ู‡ูŠ f
436
00:33:55,320 --> 00:34:00,960
.get ุจุชุฑุฌุนู„ูŠ ุจุงู„ู€ data type ุงู„ู„ูŠ ุชู… ุชุฎุฒูŠู†ู‡ุง ูˆูŠู†ุŸ ููŠ
437
00:34:00,960 --> 00:34:07,300
ุฏุงุฎู„ ุงู„ู€ future ุงู„ุขู† ู„ูŠุด ุญุทูŠุช integer ุฃู†ุง ู‡ู†ุงุŸ ุนุงุฏูŠ
438
00:34:07,300 --> 00:34:11,300
ู„ุฃู† ู‡ุฐุง wrapper class ู„ู‡ุฐู‡ ูˆููŠู‡ุง auto boxing ูˆ
439
00:34:11,300 --> 00:34:18,550
unboxingุŒ ู…ุธุจูˆุทุŸ ู…ูŠุฉ ู„ู…ูŠุฉ ุทูŠุจ ุนู„ู‰ ู…ุซุงู„ ุงู„ู€ array ุฏู‡
440
00:34:18,550 --> 00:34:22,050
ุฅูŠุด ุงู„ู…ูุฑูˆุถ ุฅู† ุฃู†ุง ุฃุณุงูˆูŠ ู„ูˆ ุฃู†ุง ุจุฏูŠ ุฃุญุณุจ ุนู†ุฏูŠ
441
00:34:22,050 --> 00:34:26,110
array ู…ู† ู…ู„ูŠูˆู† element ูˆุจุฏูŠ ุฃุณุงูˆูŠ ุฅูŠุด ุจุฏูŠ ุงุฑูˆุญ
442
00:34:26,110 --> 00:34:29,430
ุฃุณุงูˆูŠ ู‡ุงู†ุŸ ููŠ ุงู„ู€ call ููŠ ุฏุงุฎู„ ุงู„ู€ call ุจุฏูŠ ุงุนู…ู„ ู„ูŠู‡
443
00:34:29,430 --> 00:34:33,590
switch case ุนุดุงู† ุฃุฌุณู… ูƒู…ุงู† ูˆ ูŠุญุณุจ ูˆ ุงุฑูˆุญ ุฃุนู…ู„
444
00:34:33,590 --> 00:34:37,570
return ู„ู…ูŠู†ุŸ ู„ู„ู€ sum ุฃูˆ ู„ู„ู€ average ู…ุด ู‚ุถูŠุฉ ูƒุชูŠุฑ ู„ู„ู€
445
00:34:37,570 --> 00:34:40,370
sum ุฃูˆ ู„ู„ู€ average ู‡ูŠุนู…ู„ return ูˆู‡ูŠุฑูˆุญ ูŠุถูŠูู„ูŠ
446
00:34:40,370 --> 00:34:43,680
ุงู„ูŠูˆู… ููŠ ู…ูŠู†ุŸ ููŠ ุงู„ู€ future ุจุณ ุงู„ู€ future ููŠู‡ุง single
447
00:34:43,680 --> 00:34:46,400
value ู‡ุฐุง ุงู„ุขู† ู…ุนู†ุงุชู‡ ุงู„ู€ future ู‡ุฐุง ุจูŠุตูŠุฑ ุนุจุงุฑุฉ ุนู†
448
00:34:46,400 --> 00:34:52,980
ุงู„ู€ ray ุจูŠุตูŠุฑ ุนุจุงุฑุฉ ุนู† ุงู„ู€ ray ุฃูˆ ุงู„ู€ ray list ู…ุธุจูˆุทุŸ
449
00:34:52,980 --> 00:34:56,560
ู„ุฃู† ูƒู…ุงู† ู…ุฑุฉ ุฃู†ุช ุชุชุฎูŠู„ ุฅู† ู‡ุงู† ุนุงู…ู„ ุฅุญู†ุง ุฅูŠุด ู‡ู†ุŸ
450
00:34:56,560 --> 00:35:01,780
new single thread executor ุทุจ ู„ุฃ ุฃู†ุง ู…ุง ุจุฏูŠุด single
451
00:35:01,780 --> 00:35:06,750
thread executor ุจุฏูˆุฑูˆุญ ุฃู‚ูˆู„ู‡ุŸ ุงู„ู€ New Fixed Thread
452
00:35:06,750 --> 00:35:11,770
Pool ู…ุง ุจุฏูŠุด ูˆุงุญุฏ ุจุฏูŠ ู…ุฌู…ูˆุนุฉ ุฃู†ุง ุฎู…ุณุฉ ุนุดุงู† ุฃุฌุณู…ู‡ู… ุทุจ
453
00:35:11,770 --> 00:35:18,190
ู…ุง ู‡ุฏูˆู„ ุงู„ุฎู…ุณุฉ New
454
00:35:18,190 --> 00:35:25,790
Fixed Thread Pool ุฎู…ุณุฉ
455
00:35:25,790 --> 00:35:28,890
ุจุฏูŠ
456
00:35:28,890 --> 00:35:34,010
ุฃุนู…ู„ counter ุนุดุงู† ุงู„ู€ Submit ุชุจุนุช ุนู†ุฏูŠ ู‡ู†ุง ุตุญุŸ ูˆ
457
00:35:34,010 --> 00:35:37,960
ุจุฏูŠ ุฃูƒู…ู„ ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ุฃุฌุณู… ุทุจ ู…ุง ู‡ูŠ ุงู„ู€ future ู‡ุฐูŠ
458
00:35:37,960 --> 00:35:41,640
ุจุฏู†ุง ู…ุนุงู‡ุฏุฉ ููŠ ุนู†ุฏูŠ five threads ุจุฏู‡ู… ูŠุดุชุบู„ูˆุง ูƒู„
459
00:35:41,640 --> 00:35:47,640
ูˆุงุญุฏ ู„ู‡ future ูุงู„ุญู„ ุฅู†ู‘ูŠ ุฃุนู…ู„ array of futures ุฃูˆ
460
00:35:47,640 --> 00:35:53,100
array list of future ูˆุจุนุฏ ู‡ูŠูƒ ุฃู†ุง ุจุฑูˆุญ ุจุฃุฎุฏ ุฅูŠุด ุงู„ู€
461
00:35:53,100 --> 00:35:56,100
value ู…ู† ุงู„ู€ array list ุฃูˆ ู…ู† ุงู„ู€ array ุชุจุนุชูŠ ู„ูƒู† ููŠ
462
00:35:56,100 --> 00:36:00,820
ุดุบู„ ู…ู‡ู… ุฌุฏุง ู‡ู†ุง ู…ุด ุถุฑูˆุฑูŠ ุงู„ู€ array .. ุญูุธูƒ ุงู„ู€
463
00:36:00,820 --> 00:36:05,650
thread ุงู„ุฃูˆู„ ูŠุฎู„ุต ู‚ุจู„ ูˆู„ุง ู„ุงุŸ ุงู„ู„ูŠ ุจูŠุฎู„ุต ุฃูˆู„ ู‡ูˆ
464
00:36:05,650 --> 00:36:09,010
ุงู„ู„ูŠ ุจูŠุถูŠู ุนู„ู‰ ุงู„ู€ future ุฃูˆ ุนู„ู‰ ุงู„ู€ array list
465
00:36:09,010 --> 00:36:11,810
ุจุชุงุนุฉ ุงู„ู€ future ูŠุนู†ูŠ ุงู„ู€ index ุงู„ุฃูˆู„ู‰ ููŠ ุงู„ู€ array
466
00:36:11,810 --> 00:36:16,650
ู„ุฃูˆู„ ูˆุงุญุฏ ุจูŠุฎู„ุต ุงู„ุซุงู†ูŠ ุนู„ู‰ ุงู„ุซุงู†ูŠ ูˆู„ุง ุงู„ุซุงู„ุซ ูˆ
467
00:36:16,650 --> 00:36:20,870
ู‡ูƒุฐุงุŒ ู…ุธุจูˆุทุŸ ูˆุจุงู„ุชุงู„ูŠ ู…ุง ููŠุด ุถุงู…ู† ุฅูŠุด ุงู„ุชุฑุชูŠุจุŒ ุจุณ
468
00:36:20,870 --> 00:36:24,390
ุงู„ุดุบู„ ุงู„ูˆุญูŠุฏ ุงู„ู„ูŠ ุฃู†ุง ุจุถู…ู†ู‡ุง ุฅู† ุงู„ู€ value ุงู„ู„ูŠ ููŠ
469
00:36:24,390 --> 00:36:28,380
ุงู„ู€ future ุฅุฐุง ูƒู†ุช ุจุชุชูƒู„ู… ุนู„ู‰ averageุŒ ุงู„ู€ average
470
00:36:28,380 --> 00:36:31,600
ุชุจุน ุงู„ู€ average value ุชุงุน ุงู„ู€ future ู‡ูŠ ุงู„ู€ average
471
00:36:31,600 --> 00:36:35,420
ู„ู„ู€ array ูƒู„ู‡ุงุŒ ูˆุฅุฐุง ูƒู†ุช ุจุชุชูƒู„ู… ุนู„ู‰ ุงู„ู€ sumุŒ ุงู„ู€ sum
472
00:36:35,420 --> 00:36:38,620
ู„ู„ู€ values ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ู€ future ุจุชู…ุซู„ ุงู„ู…ุฌู…ูˆุน
473
00:36:38,620 --> 00:36:41,480
ุชุจุน ุงู„ู€ array ูƒู„ู‡ุงุŒ ูˆู…ู† ุซู… ุฃู†ุง ุจุฏุฃ ุฃูƒู…ู„ ุญุณุจุชูŠ
474
00:36:41,480 --> 00:36:44,760
ู„ู„ุขุฎุฑุŒ
475
00:36:44,760 --> 00:36:50,940
ุญุชู‰ ู‡ุฐุง ู…ุซุงู„ ู‡ูŠู†ูŠ ุฃู†ุง ุจุฃุฌู…ุน ู†ูุณ ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ุŒ ุจุณ
476
00:36:50,940 --> 00:36:55,470
ุฃู†ุง ูƒู†ุช ุจุฏูˆู† ุงู„ู€ code ู‡ุฐุงุฑูˆุญุช ุฌุงู…ุนุช ูˆุนู…ู„ุช return
477
00:36:55,470 --> 00:36:59,270
ู„ู„ุฌุงู…ุน ูุงุชุฎุฒู† ูˆูŠู†ุŸ ููŠ ุงู„ู€ future ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ
478
00:36:59,270 --> 00:37:02,510
ู„ูŠุด ุฃู†ุง ู‡ุฐุง ุงู„ูƒู„ุงู…ุŸ ุนุดุงู† ุฃูˆุตู„ูƒ ู„ู†ูุณ ุงู„ู…ุฑุญู„ุฉ ู‡ุฐู‡
479
00:37:02,510 --> 00:37:08,010
ุงู„ู„ูŠ ุฃู†ุง ุนู…ู„ุช ููŠู‡ุง ุงู„ู€ loop ู‡ูŠู‡ุง executor service
480
00:37:08,010 --> 00:37:14,470
ุฃู†ุง ุฃุฌูŠุช ู‡ู†ุง executor service a new single ุจุณ ู…ุง ุจุฏูŠุด
481
00:37:14,470 --> 00:37:21,770
a new single ู‡ู†ุง a new fixed thread
482
00:37:21,770 --> 00:37:30,720
pool ุงู„ู€ future ู‡ุฐุง ู‡ูŠูƒูˆู† ุนุจุงุฑุฉ ุนู† ุงู„ู€ realist ู…ู†
483
00:37:30,720 --> 00:37:36,660
ุงู„ู€ future ู…ุตุฏูˆุฑุฉ ุฃูˆ ู„ุงุŸ ูˆุฃุตู„ุง ุฃู†ุง ุจุฏูŠ ุฃุชุนุงู…ู„ ู…ุน
484
00:37:36,660 --> 00:37:39,620
ุงู„ู€ element ุฃูˆ ู…ุน ุงู„ุนู†ุงุตุฑ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏูŠ ู‡ู†ุง ููŠ
485
00:37:39,620 --> 00:37:44,020
ุฏุงุฎู„ ุงู„ู€ array ูˆู‡ุฐุง ูƒู„ ุงู„ู„ูŠ ุนู†ุฏู†ุง ููŠ ู…ูˆุถูˆุน ุงู„ู€
486
00:37:44,020 --> 00:37:46,740
threads ูŠุนู†ูŠ ุฃูˆ ุจูŠู† ุฌุณูŠู† ู‡ุฐู‡ ุงู„ู†ู‚ุงุท ุงู„ุฃุณุงุณูŠุฉ
487
00:37:46,740 --> 00:37:50,790
ุงู„ู…ู‡ู…ุฉ ููŠ ู…ูˆุถูˆุน ุงู„ู€ threads ูŠูˆู… ุงู„ุณุจุช ุฅู† ุดุงุก ุงู„ู„ู‡
488
00:37:50,790 --> 00:37:53,750
ุชุจุงุฑูƒ ูˆุชุนุงู„ู‰ .. ุฅู† ุดุงุก ุงู„ู„ู‡ ุชูƒููŠู†ุง ุงู„ุณุงุนุฉ ูˆู†ุญุงูˆู„
489
00:37:53,750 --> 00:38:02,570
ู†ุทุจู‚ ูƒู„ ุงู„ูƒู„ุงู… ุฏู‡ ุฅูŠุดุŸ ุจุดูƒู„ ุนุงู…ู„ุŒ ู†ุนู… ู…ุฑุฉ
490
00:38:02,570 --> 00:38:06,410
ุซุงู†ูŠุฉุŒ ุฅู†ุดุงุก threads ุฃูƒุซุฑ ู…ู†ุŸ ุฃูƒุซุฑ ู…ู† 100%
491
00:38:12,160 --> 00:38:17,740
A K ู„ุฃ ู„ุฃ ู…ุง ุจุฏูŠุด ู‡ูŠูƒ ุชุฎู„ุทูŠ ุชุฎู„ุทูŠ ุฅู† ูƒู„ core
492
00:38:17,740 --> 00:38:23,540
ู‡ูŠุงุฎุฏ thread ู„ุฃ ุงู„ู€ thread ู‡ูŠ ู‡ุชูƒูˆู† ุงู„ู€ process ู„ู„ู€
493
00:38:23,540 --> 00:38:29,180
core ุงู„ูˆุงุญุฏ ูŠุนู†ูŠ ุฃู†ุช ููŠ ุงู„ุขุฎุฑ ุงู„ู€ CPU ุนู†ุฏูƒ
494
00:38:29,180 --> 00:38:35,020
different cores ู…ุธุจูˆุท ุญุชู‰ ุงู„ู€ core ุงู„ูˆุงุญุฏ ideal ู…ุซู„
495
00:38:35,020 --> 00:38:38,980
ุงู„ุขู† ู…ูŠู† ุงู„ู„ูŠ ุจุชูˆู„ู‘ู‰ ุชุดุบูŠู„ ุงู„ู€ cores ุงู„ู€ operating
496
00:38:38,980 --> 00:38:43,250
system ุฃู†ุช ูƒู„ ุงู„ู„ูŠ ุจุชุณูˆูŠู‡ ููŠ ุงู„ู€ application ุจุชู‚ูˆู„ูŠู‡
497
00:38:43,250 --> 00:38:46,210
ู„ู„ู€ operating system ุฅู† ุฃู†ุง ููŠ ุนู†ุฏูŠ different task
498
00:38:46,210 --> 00:38:49,090
ุจุฏูŠ ุฃู†ูุฐู‡ุง ุงู„ู€ operating system ุงู„ู„ูŠ ุจูŠุงุฎุฏู‡ุง ูˆ
499
00:38:49,090 --> 00:38:52,430
ุจูˆุฒุนู‡ุง ุฎู„ุต ุงู„ู€ core ุงู„ุฃูˆู„ ู‡ูˆ ุงู„ู„ูŠ ุจูŠุนุทูŠ ุงู„ู€ core
500
00:38:52,430 --> 00:38:55,250
ุงู„ุซุงู†ูŠ ูˆุจูŠุนุทูŠ ุงู„ู€ core ุงู„ุซุงู„ุซ ูˆุงู„ุฑุงุจุน ุทุจ ูƒู„ ุงู„ู€
501
00:38:55,250 --> 00:38:58,880
cores busy ุงู„ู€ task ุชุจุนุชูƒ ุจุชุฎุด ููŠ ุงู„ู€ queue ุชุจุนุช ุงู„ู€
502
00:38:58,880 --> 00:39:02,500
operating system ูˆุจู†ูุฐู‡ุง ุชุจุงุน ู„ู…ุง ุจูŠุฌูŠู‡ุง ุงู„ุฏูˆุฑ
503
00:39:02,500 --> 00:39:07,120
ุฃู…ุง ู…ุง ู„ูƒุด ุฏุฎู„ ุฃู†ุช ู…ู…ูƒู† ุชู‚ู„ ุจู€ 100 ุนู„ู‰ single core
504
00:39:07,120 --> 00:39:10,960
100 thread ุนู„ู‰ single core ุฅุญู†ุง ู‡ูŠ ู‡ูŠ ุจุงู„ู…ุซุงู„ ู‡ุฐุง
505
00:39:10,960 --> 00:39:18,180
ุฅูŠุด ุนู…ู„ู†ุงุŸ ุนู…ู„ุช three threads ุจุตุจุช ูˆุฑุญุช ู‚ู„ุช ู„ู‡
506
00:39:18,180 --> 00:39:23,880
ุฃู†ุง ููŠ ุนู†ุฏูŠ ุฎู…ุณุฉ task ูˆูŠู† ุงู„ู€ 1010 ุงู„ุฃุฎุฑุงู†ูŠุงุช ุฏุฎู„ูˆุง
507
00:39:23,880 --> 00:39:27,380
ููŠ ุงู„ู€ weight ุฃูˆ ููŠ ุงู„ู€ Q ู„ุญุฏ ู…ุง ูŠุฎู„ุต ุงู„ู€ pool ูŠุตูŠุฑ
508
00:39:27,380 --> 00:39:29,700
ููŠู‡ุง ู…ุชุณุน ูˆู†ูุณ ุงู„ูƒู„ุงู… ุจูŠุตูŠุฑ ุนู†ุฏูƒ ุนู„ู‰ ุงู„ู€ operating
509
00:39:29,700 --> 00:39:33,500
system ุจุณ ู…ุด ุดุบู„ูƒ ุฃู†ุช ุงู„ู„ูŠ ุชุนู…ู„ูŠ ู„ู‡ management ู„ุฃู†
510
00:39:33,500 --> 00:39:35,860
ุงู„ู€ operating system ู‡ูˆ ุงู„ู„ูŠ ุจุชุฏูˆุฑ ุนู†ุฏูƒ ูุฃู†ุช ู…ุง
511
00:39:35,860 --> 00:39:40,140
ุชู‚ุงุฑู† ุฃูˆ ู…ุง ุชุฑุจุท ุจุนุฏุฏ ุงู„ู€ thread ุจุนุฏุฏ ุงู„ู€ cores ุงู„ู„ูŠ
512
00:39:40,140 --> 00:39:43,160
ู…ูˆุฌูˆุฏุฉ ุนู†ุฏูƒ ุนู„ู‰ ุงู„ู…ุนุงู„ุฌ ุฃูŠ ุณุคุงู„ ุซุงู†ูŠ ุจู†ุงุชุŸ