abdullah's picture
Add files using upload-large-folder tool
2ba4a0a verified
raw
history blame
58.6 kB
1
00:00:20,790 --> 00:00:22,710
ุจุณู… ุงู„ู„ู‡ ูˆุงู„ุญู…ุฏ ู„ู„ู‡ ูˆุงู„ุตู„ุงุฉ ูˆุงู„ุณู„ุงู… ุนู„ู‰ ุฑุณูˆู„ ุงู„ู„ู‡
2
00:00:22,710 --> 00:00:26,950
ุงู„ูŠูˆู… ุฅู† ุดุงุก ุงู„ู„ู‡ ุชุนุงู„ู‰ ู‡ู†ุชูƒู„ู… ุนู„ู‰ ู…ูˆุถูˆุน ู…ู† ุฃู‡ู…
3
00:00:26,950 --> 00:00:29,230
ุงู„ู…ูˆุถูˆุนุงุช ุชู…ูŠุฒุช ููŠู‡ุง ุงู„ุฌุงูุง ุนู† ู„ุบุงุช ุงู„ุจุฑู…ุฌุฉ
4
00:00:29,230 --> 00:00:35,880
ุงู„ุชุงู†ูŠุฉ ุงู„ู„ูŠ ู‡ูŠ ุงู„ู€ multi threading ูƒู„ู†ุง ุจู†ุนุฑู ุฃู†
5
00:00:35,880 --> 00:00:39,700
ุงู„ู…ุนุงู„ุฌุงุช ุงู„ูŠูˆู… ููŠ ุนู„ูŠู‡ุง multi cores ู…ุตุจูˆุท ูŠุนู†ูŠ
6
00:00:39,700 --> 00:00:44,240
ุจูŠู† ุฌุณูŠู† ู‡ูˆ ุนุจุงุฑุฉ ุนู† compound CPU ููŠ ุงู„ู…ุนุงู„ุฌ ูˆุงุญุฏ
7
00:00:44,240 --> 00:00:48,780
ููŠ ุฏุงุฎู„ู‡ ุฃูƒุซุฑ ู…ู† ู…ุนุงู„ุฌ ุฃูˆ ุฃูƒุซุฑ ู…ู† ู…ุนุงู„ุฌ ุงู„ุขู† ููŠ
8
00:00:48,780 --> 00:00:51,140
ูˆุงุญุฏุฉ ู…ู† ุงู„ู…ุตุทู„ุญุงุช ุงู„ู„ูŠ ู…ุฑุช ุนู„ูŠู†ุง ู…ุน ุงู„ู…ู‚ุฏู…ุฉ
9
00:00:51,140 --> 00:00:54,220
ุงู„ู…ูุฑูˆุถ ุฃูˆ ุฃุฎุฐุชู‡ุง ุฃูˆ ุฃุฎุฏุช ุจุนุถู‡ุง ููŠ ุงู„ู€ operating
10
00:00:54,220 --> 00:00:57,920
system ู„ูˆ ุฃุฎุฏุชูŠู‡ุง ุจุณ ุบุงู„ุจุง ู…ุฑุช ุนู„ูŠูƒ ููŠ ุงู„ู…ู‚ุฏู…ุฉ ู„ู…ุง
11
00:00:57,920 --> 00:01:02,730
ุฃู†ุง ุจุชูƒู„ู… ุนู„ู‰ ู…ุตุทู„ุญ ุงู„ู€ Multitasking Multitasking
12
00:01:02,730 --> 00:01:07,030
ูŠุนู†ูŠ ุฃู†ุง ุจุชูƒู„ู… ุนู„ู‰ ู‚ุฏุฑุฉ ุงู„ูƒู…ุจูŠูˆุชุฑ ุนู„ู‰ ุชู†ููŠุฐ ุฃูƒุซุฑ
13
00:01:07,030 --> 00:01:12,650
ู…ู† ู…ู‡ู…ุฉ ููŠ ู†ูุณ ุงู„ูˆู‚ุชุŒ ู…ุตุจูˆุทุŸ ุงู„ุขู† ู‡ุฐุง ุจุดูƒู„ ุนุงู…
14
00:01:12,650 --> 00:01:17,430
ุงู„ู…ุตุทู„ุญุŒ ุงู„ุขู† ู„ู…ุง ุจู†ุฑูˆุญ ู†ุฏู‚ู‚ ููŠ ุงู„ู…ุตุทู„ุญ ู‡ุฐุง ุจู†ู‚ุฏุฑ
15
00:01:17,430 --> 00:01:22,050
ู†ูุตู„ู‡ ู„ู…ุตุทู„ุญูŠู† ูˆู†ู‚ูˆู„ ุฃู† ุงู„ู€ multitasking ุฃูˆ ูŠู†ู‚ุณู…
16
00:01:22,050 --> 00:01:26,550
ุงู„ู€ multitasking ู„ู†ูˆุนูŠู† ุงู„ู€ process based ูˆู‡ุฐุง ุดุบู„
17
00:01:26,550 --> 00:01:32,850
ุงู„ู€ operating system ุจุงู„ุฏุฑุฌุฉ ุงู„ุฃูˆู„ู‰ ูˆ thread based
18
00:01:32,850 --> 00:01:37,990
ุดุบู„ ุงู„ุจุฑูˆุฌุฑุงู… ุฃูˆ ุงู„ู€ applications operating
19
00:01:37,990 --> 00:01:41,210
system ูˆ application ุฅูŠุด ู…ู‚ุตูˆุฏ ููŠ ุงู„ู€ process
20
00:01:41,210 --> 00:01:47,170
basedุŸ ุฃูŠูˆุฉ ุจุชูƒู„ู… ุนู„ู‰ process based ุฃู† ุงู„ู€ operating
21
00:01:47,170 --> 00:01:52,750
system ู‚ุงุฏุฑ ุนู„ู‰ ุชุดุบูŠู„ multitask ุชู…ุงู… ููŠ ู†ูุณ ุงู„ูˆู‚ุช
22
00:01:52,750 --> 00:01:57,930
ูˆูƒู„ task ู‡ุฐู‡ ู‡ูŠ ุนุจุงุฑุฉ ุนู† different application ูุงู„
23
00:01:57,930 --> 00:02:00,470
process ู‡ุฐู‡ ุฃู†ุง ุจุฏูŠ ุงุชูƒู„ู… ุนู„ูŠู‡ุง ู‡ูŠ ุนุจุงุฑุฉ ุนู†
24
00:02:00,470 --> 00:02:02,250
application
25
00:02:04,810 --> 00:02:08,250
ุงู„ุขู† process based ู…ุนู†ุงุชู‡ ุฃู† ุฃู†ุง ููŠ ุนู†ุฏูŠ ุฃูƒุซุฑ ู…ู†
26
00:02:08,250 --> 00:02:13,530
ุจุฑู†ุงู…ุฌ ุดุบุงู„ ุจุดูƒู„ ู…ุชุฒุงู…ู† ู‡ุงู„ูƒู„ุงู… ู‡ุฐุง ุจูŠุตูŠุฑ ู…ุนุงู†ุง ููŠ
27
00:02:13,530 --> 00:02:15,230
ุงู„ู€ operating system ุงู„ู„ูŠ ุจู†ุดุชุบู„ ุนู„ูŠู‡ุง ุณูˆุงุก ูƒุงู†ุช
28
00:02:15,230 --> 00:02:20,130
ูˆูŠู†ุฏูˆุฒ ุฃูˆ ู„ูŠู†ูŠูƒุณ ุฃูˆ ู…ุงูƒ ุจูŠุตูŠุฑ ุฃู†ุง ุจุดุบู„ ุงู„ู€ word ุฃูˆ
29
00:02:20,130 --> 00:02:23,270
ุจุดุบู„ ุงู„ู€ netpens ุจุดุบู„ ุงู„ู€ word ุจุดุบู„ ุงู„ู€ powerpoint ูˆ
30
00:02:23,270 --> 00:02:25,290
ู…ู…ูƒู† ุฃุดุบู„ ุงู„ู€ player ูˆ ู…ู…ูƒู† ุฃุดุบู„ ุงู„ู€ internet
31
00:02:25,290 --> 00:02:29,620
explorer ูˆ ูƒู„ ุงู„ุจุฑุงู…ุฌ ู‡ุฐู‡ ุดุบุงู„ุฉ ุจุดูƒู„ ู…ุชุฒุงู…ู† ู…ุน
32
00:02:29,620 --> 00:02:34,580
ุจุนุถู‡ุง ูˆ ุงู„ู€ CPU ุจุฌุณู… ูˆุฌู‡ุชู‡ ุนู„ูŠู‡ู… ุจุงู„ุชุณุงูˆูŠ ูู‡ู†ุง
33
00:02:34,580 --> 00:02:39,160
ุจู†ู‚ูˆู„ ุงู„ู€ process based ู‡ูŠ ุฃู† ูŠูƒูˆู† ููŠู‡ ุนู†ุฏูŠ two
34
00:02:39,160 --> 00:02:43,760
more or more application or programs run
35
00:02:43,760 --> 00:02:48,760
concurrently ุจูŠุดุชุบู„ูˆุง ุจุดูƒู„ ู…ุชุฒุงู…ู† ู…ุน ุจุนุถู‡ู… ูˆู‡ุฐุง
36
00:02:48,760 --> 00:02:54,540
ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุจู†ุดูˆูู‡ ูƒู„ ูŠูˆู… ุชู…ุงู…ุง ุทุจุนุง ูˆู‡ุฐุง ุดุบู„
37
00:02:54,540 --> 00:02:58,240
ุงู„ู€ operating system ุฃู†ุช ุจุชู‚ุฏุฑุด ุชุนู…ู„ ู„ุจุฑู†ุงู…ุฌ ูŠุดุบู„
38
00:02:58,240 --> 00:03:01,260
ุจุฑุงู…ุฌ ุชุงู†ูŠุฉ ุฃู†ุช ุจุชู‚ุฏุฑ ุชุนู…ู„ ู„ุจุฑู†ุงู…ุฌ ูŠู‚ูˆู„ ุงู„ู€
39
00:03:01,260 --> 00:03:04,580
operating system ุดุบู„ ูƒุฐุง ุจุณ ุงู„ุจุฑู†ุงู…ุฌ ู…ุด ู‡ูˆ ุงู„ู„ูŠ
40
00:03:04,580 --> 00:03:10,280
ู‡ูŠุดุบู„ ุงู„ู€ type ุงู„ุชุงู†ูŠ ููŠ ุงู„ู€ multitasking ุงู„ู€ thread
41
00:03:10,280 --> 00:03:14,400
based ุฃู† ุงู„ู€ application ุงู„ูˆุงุญุฏ ูŠูƒูˆู† ุนู†ุฏู‡ ุงู„ู‚ุฏุฑุฉ
42
00:03:14,400 --> 00:03:20,470
ุนู„ู‰ ุชู†ููŠุฐ ุฃูƒุซุฑ ู…ู† task ููŠ ู†ูุณ ุงู„ูˆู‚ุช ุทุจ ุงุญู†ุง ุนุงุฏุฉ
43
00:03:20,470 --> 00:03:22,990
ุฏูƒุชูˆุฑ ูŠุนู†ูŠ ุจู†ู‚ูˆู„ ูˆุงู„ู„ู‡ ุจุดุบู„ ุงู„ู€ real player ุฃูˆ ุงู„ู€
44
00:03:22,990 --> 00:03:25,830
media player ุนุดุงู† ูŠู‚ุฑุฃ ุงู„ููŠุฏูŠูˆ ุฃูˆ ุงู„ู…ู„ู ุงู„ุตูˆุช ุงู„ู„ูŠ
45
00:03:25,830 --> 00:03:29,210
ุนู†ุฏูŠ ุทุจ ุจุณ ู…ู‚ุฏุฑุด ูŠุณูˆูŠ ุดุบู„ุฉ ุฃู†ุง ู…ุง ู‚ู„ุช ูƒู„ ุงู„ู€
46
00:03:29,210 --> 00:03:33,650
applications ุงู„ู„ูŠ ุจุชู‚ุฏุฑ ุชุณูˆูŠ multitasking ุนู„ู‰
47
00:03:33,650 --> 00:03:37,430
thread based ู„ูƒู† ู„ูˆ ุฃู†ุง ุงุญู†ุง ุฌูŠู†ุง ู…ุซุงู„ ู„ูˆ ูƒุงู† ุนู†ุฏูƒ
48
00:03:37,430 --> 00:03:42,290
word document word document ุญุฌู…ู‡ ุฎู…ุณูŠู† ุตูุญุฉ ุนู„ู‰
49
00:03:42,290 --> 00:03:49,020
ุณุจูŠู„ ุงู„ู…ุซุงู„ ูˆ ุฑูˆุญุชูŠ ุนู…ู„ุชูŠ print ุชู…ุงู…ุŸ ูˆุดูุชูŠ ุดุบู„ูƒ
50
00:03:49,020 --> 00:03:51,820
ูˆู‚ุนุฏุชูŠ ุชุชุนุฏู„ูŠ ููŠ ุงู„ู€ formatting ุชุจุนุชู‡ ุจุฏูƒ ุฃู†ุช ุชุนู…ู„ูŠ
51
00:03:51,820 --> 00:03:56,280
draft ุจุฏูƒ ุชุทุจุนูŠู‡ ูˆู‚ุนุฏุชูŠ ุชุนู…ู„ูŠ format ู„ุฃู† ุนู…ู„ูŠุฉ ุงู„ู€
52
00:03:56,280 --> 00:04:00,040
formatting ูˆุนู…ู„ูŠุฉ ุงู„ู€ printing ู„ุฃู† ู‚ุงุนุฏุฉ ุจุชุตูŠุฑ ุจุดูƒู„
53
00:04:00,040 --> 00:04:07,040
ู…ุชุฒุงูˆูŠ ู…ุชูˆุงุฒูŠ ุนููˆุง ุงู„ููƒุฑุฉ ูˆูŠู† ุฃู† ู‡ูˆ ุฑุงุญ ุจุนุช ุฃูˆ ุจุฏู‡
54
00:04:07,040 --> 00:04:10,080
ูŠุจุนุช ุงู„ู€ document ุตูุญุฉ ูˆุฑุง ุชุงู†ูŠุฉ ู„ู„ู€ printer ู…ุง ุฎู„ุตุด
55
00:04:11,010 --> 00:04:13,590
ุนุดุงู† ู‡ูŠูƒ ุฃู†ุง ู‚ู„ุช ู„ูƒ ุฎู…ุณูŠู† ุตูุญุฉ ู„ุฃู†ู‡ ู‡ูŠุงุฎุฏูƒ ุดูˆูŠุฉ
56
00:04:13,590 --> 00:04:16,510
ุทูˆูŠู„ ููŠ ุงู„ุฅุฑุณุงู„ ู‡ุชุญุณูŠู‡ ุญุชู‰ ููŠ ุงู„ู€ status bar ุจูƒุชุจ
57
00:04:16,510 --> 00:04:19,790
ู„ูƒ printing ุฃูˆ sending document to printer ู‡ูŠ ู‡ูˆ
58
00:04:19,790 --> 00:04:24,230
ุจูŠุจุนุช ุงู„ุทุจุงุนุฉ ูˆุฃู†ุช ู‚ุงุนุฏุฉ ุจุชุนู…ู„ูŠ ุฅูŠุดุŸ formatting ููŠ
59
00:04:24,230 --> 00:04:28,590
ู†ูุณ ุงู„ู„ุญุธุฉ ู‡ุฐุง ุงุญู†ุง ุจู†ุณู…ูŠู‡ ุฅูŠุดุŸ thread based
60
00:04:28,590 --> 00:04:32,790
thread based ุฃู† ุฃู†ุง ุฃุนู…ู„ branch ููŠ ุงู„ุดุบู„ ู†ูุณู‡ ุฃู†
61
00:04:32,790 --> 00:04:37,030
ุงู„ู€ application ุงู„ูˆุงุญุฏ ูŠูƒูˆู† ู‚ุงุฏุฑ ูŠู†ูุฐ two tasks ุฃูˆ
62
00:04:37,030 --> 00:04:43,500
ุฃูƒุซุฑ ุทูŠุจ ุงู„ุดุบู„ ุงู„ุชุงู†ูŠ ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ู†ูู‡ู…ู‡ ุงู„ุขู† ุนุงุฏุฉ
63
00:04:43,500 --> 00:04:48,840
ู„ูˆ ุฃู†ุง ุนู…ู„ุช application ุงู„ู€ application ู‡ุฐุง ุจูŠูƒูˆู†
64
00:04:48,840 --> 00:04:53,700
sequential execution ูŠุนู†ูŠ ู„ูˆ ุฃู†ุง ุฃุฌูŠุช ุนู…ู„ุช ุจุฑู†ุงู…ุฌ
65
00:04:53,700 --> 00:05:01,200
ูˆุงุญุฏ ุงุชู†ูŠู† ุชู„ุงุชุฉ ู‡ุฐู‡ ุงู„ู„ุบุฉ ู…ู† ุฃุณุทุฑ ููŠ
66
00:05:01,200 --> 00:05:09,700
ุนุดุฑุฉ line ุนุดุฑ ุฃุณุทุฑ ุชุฎูŠู„ูŠ ุฃู† ููŠ ุงู„ุตุจุฑ ุงู„ุฃูˆู„ ุนุฑูุช
67
00:05:09,700 --> 00:05:19,320
integer a equal ูƒุฐุง ูˆ b equal ูƒุฐุง big integer
68
00:05:19,320 --> 00:05:26,520
ุชู…ุงู…ุŸ ุนุฑูุช a ูˆ b ูˆ ุจุฏุฃุช ุฃุญุณุจ ุงู„ู€ factorial ู…ุถุฑูˆุจ ุงู„ู€
69
00:05:26,520 --> 00:05:33,160
a ูˆ ุงู„ู€ b ู‡ุงู† ุจุฏุฃุช ููŠ ู…ุถุฑูˆุจ ุงู„ู€ a ู‚ู„ุช fa equal ูˆุงุญุฏ
70
00:05:33,160 --> 00:05:40,860
ูˆ ุฑูˆุญุช ู‡ุงู† ู‚ู„ุช ู„ู‡ while ุงู„ู€ A ุฃูƒุจุฑ ู…ู† ูˆุงุญุฏ ุงู„ู€ F A
71
00:05:40,860 --> 00:05:50,060
equal F A ุถุฑุจ A minus minus ุชุตูŠุฑุŸ ุชู…ุงู… ูˆู‡ูŠ ููŠ ุนู†ุฏ
72
00:05:50,060 --> 00:05:56,880
ุทุจุนุชู‡ุง S out ุงู„ู€ F A ูˆ ุฑูˆุญุช ูƒู…ุงู† ู…ุฑุฉ F B ู†ูุณ ุงู„ู€ code
73
00:05:56,880 --> 00:06:01,560
ุนุดุงู† ูŠุนู…ู„ ุงู„ู€ factorial ุชุจุนุช ุงู„ู€ B while
74
00:06:01,560 --> 00:06:09,800
ุงู„ู€ B ุฃูƒุจุฑ ู…ู† ูˆุงุญุฏ ุงู„ู€ FB ุจุฏู‡ุง ุชุณุงูˆูŠ FB ุถุฑุจ B minus
75
00:06:09,800 --> 00:06:21,120
minus as out FB ูˆ ู‡ุงู† as out end of a program
76
00:06:21,120 --> 00:06:25,620
ุงู„ุจุฑู†ุงู…ุฌ
77
00:06:25,620 --> 00:06:30,940
ู„ู…ุง ุจุชู†ูุฐ ู‡ูŠุชู†ูุฐ ุจุดูƒู„ sequential ู…ุธุจูˆุท ูŠุนู†ูŠ ุณุทุฑ
78
00:06:30,940 --> 00:06:36,610
ุงู„ุฃูˆู„ ุงู„ุชุงู†ูŠ ุงู„ุชุงู„ุช ... ุชุงู„ุช ูˆุงู„ุฑุงุจุน ู‡ุชุธู„ ุชุนู…ู„ ุชูƒุฑุงุฑ
79
00:06:36,610 --> 00:06:44,910
ู„ู…ุง ูŠุฎู„ุต ูˆู„ู…ุง ุฃู†ุง ู‚ู„ุช ู‡ุฏูˆู„ big integers ู…ุง ุนุฑูุช
80
00:06:44,910 --> 00:06:47,450
ุฃู†ุง ุจุชูƒู„ู… ุนู„ู‰ ุนุฏุฏ ุถุฎู… ูŠุนู†ูŠ ุงู„ู€ loop ู‡ุงุฏ ุฅูŠุด ุญูŠุตูŠุฑ ููŠู‡ุง
81
00:06:47,450 --> 00:06:56,890
ู‡ุชุงุฎุฏ ูˆู‚ุช ู„ู…ุง ุชุดุชุบู„... ู‡ุชุฎู„ุต ุทูŠุจ... ูˆู‡ุงู† ู…ู† ุณุชุฉ
82
00:06:56,890 --> 00:06:59,990
ู„ุชุณุนุฉ ู…ุง ู„ุงุด ุนู„ุงู‚ุฉ ุจุงู„ู€ code ุงู„ุณุงุจู‚ ุงู„ู„ูŠ ู‡ู… ุงุชู†ูŠู†
83
00:06:59,990 --> 00:07:04,490
ู„ุฎู…ุณุฉ ูˆู„ุง ู„ุงุŸ ู…ุง ููŠุด dependence ููŠ ุงู„ู€ code ูˆุจุงู„ุชุงู„ูŠ
84
00:07:04,490 --> 00:07:08,810
ู‡ุฐู‡ ู‚ุงุนุฏุฉ ุจุชู†ุชุธุฑ ููŠ ุงู„ู€ queue ู…ู† ุฃุฌู„ ู„ุง ุดูŠุก ุนู„ู‰
85
00:07:08,810 --> 00:07:13,350
ุงู„ุฑุบู… ุฃู† ุงู„ู…ุนุงู„ุฌ ุนู†ุฏู‡ ุงู„ู‚ุฏุฑุฉ ุฃู† ูŠู†ูุฐู‡ุง ูˆูŠู†ูุฐ ูƒุซูŠุฑ
86
00:07:13,350 --> 00:07:17,770
ุฒูŠู‡ุง ู„ุฃู† ุจู†ุชูƒู„ู… ุนู„ู‰ multi course ู…ุตุจูˆุทุŸ ูˆุบุงู„ุจุง
87
00:07:17,770 --> 00:07:20,690
ุงุญู†ุง ู„ูˆ ุงุญู†ุง ูุชุญู†ุง ุงู„ู€ task manager ุชุจุน ุงู„ู€
88
00:07:20,690 --> 00:07:26,370
operating system I ALT CTRL DELETE ุทู„ุนู†ุง ุนู„ู‰ ุงู„ู€
89
00:07:26,370 --> 00:07:30,530
task manager ุงู„ู€
90
00:07:30,530 --> 00:07:36,510
CPU ุฒูŠ ูƒุฏุง ุดุŸ ุตูุฑ ููŠ ุงู„ู…ูŠุฉ ู„ุฃู† ูƒู„ ุงู„ุจุฑุงู…ุฌ ุงู„ู„ูŠ
91
00:07:36,510 --> 00:07:39,510
ุดุบุงู„ุฉ stable ู…ุง ููŠุด ุนู„ูŠู‡ุง ุฃูŠ interaction ุจูŠุตูŠุฑ ููŠ
92
00:07:39,510 --> 00:07:42,850
ุดุบู„ ู„ูˆ ุฃู†ุง ุจุฏุฃุช ุฃุนู…ู„ click ุฃูˆ ุจุฏุฃุช ุฃุฑูˆุญ ุฃุณูˆูŠ ุฃูŠ
93
00:07:42,850 --> 00:07:48,250
ุดุบู„ุฉ ู‡ุชุญุณ ุฃู†ู‡ ุจู†ูุฐู‡ุง ูˆุจุนูˆุฏ ุจูŠุฑุฌุนุด ู„ู„ู€ state ูŠุนู†ูŠ
94
00:07:48,250 --> 00:07:52,910
ุจูŠู† ุฌุซูŠู† ู…ุนุธู… ูˆุงุฌู‡ุฉ ุงู„ู€ CPU ู‚ุงุนุฏุฉ ูุงุถูŠุฉ ูˆ ู‚ุนุฏ ู‡ูˆ
95
00:07:52,910 --> 00:07:55,370
ุจูŠุดุชุบู„ ููŠ single task ุทุจ ู„ูŠุด ู…ุง ุฃู†ุง ุฃุฑูˆุญ ุฃุณุชููŠุฏ ู…ู†
96
00:07:55,370 --> 00:08:00,430
ูˆุฌู‡ุชู‡ ู‡ุฐุงุŸ ูˆุจุงู„ุชุงู„ูŠ ู‡ู†ุจุฏุฃ ุงู„ุชููƒูŠุฑ ุงู„ุฌุฏูŠ ููŠ ุฃู† ุฃู†ุง
97
00:08:00,430 --> 00:08:04,520
ุฃูˆ ุฌุฏุฃูˆ ูƒูŠู ุฃู‚ุฏุฑ ุฃุนู…ู„ multitasking ููŠ ุงู„ู€
98
00:08:04,520 --> 00:08:08,520
application ุชุจุนูŠ ูŠุนู†ูŠ ูƒูŠู ูŠุตูŠุฑ ููŠ ุนู†ุฏูŠ ู…ู‚ุฏุฑุฉ angle
99
00:08:08,520 --> 00:08:15,540
ู…ู† ุฎู…ุณุฉ ู„ุชุณุนุฉ ูŠุชู†ูุฐูˆุง ุจุดูƒู„ ู…ุชุฒุงู…ู† ู„ู…ู† ู‡ู†ุง ุฎู…ุณุฉุŒ
100
00:08:15,540 --> 00:08:21,740
ุณุชุฉุŒ ุณุจุนุฉุŒ ุชุณุนุฉ ูˆุจู‡ูŠูƒ ุจูƒูˆู† ูˆูู‘ุฑุช ุชู‚ุฑูŠุจุง ุฃุฑุจุนูŠู† ููŠ
101
00:08:21,740 --> 00:08:24,680
ุงู„ู…ูŠุฉ ู…ู† ูˆุฌู‡ ุงู„ู…ุนุงู„ุฌูŠ ู…ู† ูˆุฌู‡ ุงู„ู€ application ุชุจุนูŠ
102
00:08:24,680 --> 00:08:28,940
ู„ูŠุดุŸ ู„ูŠุด ุฃุฑุจุนูŠู† ููŠ ุงู„ู…ูŠุฉุŸ ุงู„ุณุทุฑ ุงู„ุฃูˆู„ ู„ุงุฒู…ู†ูŠ ู„ุฃู†
103
00:08:28,940 --> 00:08:32,020
ุฃู†ุง ุนุฑูุช ููŠ ุงู„ู€ A ูˆุงู„ู€ B ู…ุตุจูˆุท ูˆุงู„ุณุทุฑ ุงู„ุฃุฎูŠุฑ ู„ุงุฒู…ู†ูŠ
104
00:08:32,020 --> 00:08:36,340
ูˆ ู‡ุฏูˆู„ุฉ ุจุฏู‡ู… ูŠุดุชุบู„ูˆุง ุจุดูƒู„ ู…ุชุฒุงู…ู† ูู‡ู†ุง ุจุชูŠุฌูŠ ู…ูˆุถูˆุน
105
00:08:36,340 --> 00:08:40,080
ุงู„ู€ multitrading ุฃู† ูƒูŠู ุฃู‚ุฏุฑ ุฃุฎู„ูŠ ุจุฑู†ุงู…ุฌูŠ ูŠุดุชุบู„ ุฃูˆ
106
00:08:40,080 --> 00:08:44,440
ูŠุฌุณู… ุงู„ุดุบู„ ุฃูˆ ุฃู†ุง ุฃุฌุณู… ู„ู‡ ุดุบู„ ู…ุง ููŠุด ุจูŠู†ู‡
107
00:08:44,440 --> 00:08:49,580
dependency ูˆ ูŠุดุชุบู„ ุนู„ูŠู‡ ุจุดูƒู„ ู…ุชุฒุงู…ู† ู„ุงุฒู… ู†ูุฑุฌ ุจูŠู†
108
00:08:49,580 --> 00:08:56,610
ู…ุตุทู„ุญูŠู† ู…ู‡ู…ุงุช ุงู„ู€ parallelism ูˆ ุงู„ู€ concurrency ุงู„ุดูƒู„
109
00:08:56,610 --> 00:09:03,310
ุฃูˆ ุงู„ุญูˆุณุจุฉ ุงู„ู…ุชูˆุงุฒูŠุฉ ูˆุงู„ุญูˆุณุจุฉ ุงู„ู…ุชุฒุงู…ู†ุฉ ู„ู…ุง ุจุชูƒู„ู…
110
00:09:03,310 --> 00:09:08,350
ุนู„ู‰ ู…ุชุฒุงู…ู† concurrent ุดูƒู„ ู…ุชุฒุงู…ู† ููŠ ู†ูุณ ุงู„ูˆู‚ุช ุงุญู†ุง
111
00:09:08,350 --> 00:09:14,190
ุจู†ุชูƒู„ู… ุนู„ู‰ single CPU ุจุชูƒู„ู… ุนู„ู‰ single CPU ู„ู…ุง
112
00:09:14,190 --> 00:09:19,610
ุจุชูƒู„ู… ุนู„ู‰ parallel ุจุชูƒู„ู… ุนู„ู‰ ุฃูƒุซุฑ ู…ู† CPU ุงู„ุขู†
113
00:09:19,610 --> 00:09:24,440
concurrent concurrency ู…ุนู†ุงุชู‡ ุฃู†ุง ู‚ุงุนุฏุฉ ุงู„ู€
114
00:09:24,440 --> 00:09:29,540
application ุชุจุนูŠ ุฃูˆ ุงู„ู€ task ุชุจุนุชูŠ ุจุฏูŠ ุฃุฌุณู…ู‡ุง ุจุญูŠุซ
115
00:09:29,540 --> 00:09:33,560
ุฃู† ุงู„ู…ุนุงู„ุฌ ูŠุดุบู„ู‡ุง ุจู€ different time ุญุณุจ ุงู„ู…ุนุงู„ุฌ
116
00:09:33,560 --> 00:09:37,540
ู†ูุณู‡ ูˆุทุจุนุง ูƒู„ ูˆุงุญุฏุฉ ุจุชู…ุซู„ ุงู„ู€ process ุนู†ุฏู‡ุง ุฃูˆ
117
00:09:37,540 --> 00:09:42,700
task ุจูŠู†ู…ุง ููŠ ุงู„ู€ parallel system ุฃู† ุฃู†ุง ุจุฑูˆุญ ุจุฌุณู…
118
00:09:42,700 --> 00:09:46,620
ุงู„ู€ task ุชุจุนุชูŠ ุนู„ู‰ different machine ูŠุนู†ูŠ ูƒู„ task
119
00:09:46,620 --> 00:09:50,620
ุจุฏูŠู‡ุง ู„ู€ machine ู…ุฎุชู„ูุฉ ุจุฏูŠู‡ุง ู„ู€ machine ู…ุฎุชู„ูุฉ
120
00:09:53,270 --> 00:09:57,710
ุงู„ู€ Thread ุงู„ุจุฑุงู†ุด ู‡ูŠ ุนุจุงุฑุฉ ุนู† ุงู„ู€ Basic
121
00:09:57,710 --> 00:10:02,190
Processing Unit ุฅูŠุด ูŠุนู†ูŠ Basic Processing UnitุŸ
122
00:10:02,190 --> 00:10:07,930
ูˆุญุฏุฉ ุงู„ู…ุนุงู„ุฌุฉ ุงู„ุฃุณุงุณูŠุฉ ูŠุนู†ูŠ ู‡ูŠ ุจู†ุชูƒู„ู… ุนู„ูŠู‡ุง ุฌุฒุก ู…ู†
123
00:10:07,930 --> 00:10:12,650
ูˆู‚ุช ุงู„ู…ุนุงู„ุฌ ูˆุฌุฒุก ู…ู† ุงู„ู€ RAM ู…ู† ุงู„ู€ Space ู„ู…ุง ุงุญู†ุง
124
00:10:12,650 --> 00:10:16,710
ุจู†ุชูƒู„ู… ุนู† ุงู„ู€ CPU ุฏุงุฆู…ุง ุจู†ุฑุจุท ุงู„ู€ memory ุงู„ู€ RAM ูˆ
125
00:10:16,710 --> 00:10:21,050
ุงู„ู…ุนุงู„ุฌ ุจุณู…ูŠู‡ุง ูˆุญุฏุฉ ุงู„ู…ุนุงู„ุฌุฉ ุงู„ู…ุฑูƒุฒูŠุฉ ุงู„ุขู† ู„ู…ุง
126
00:10:21,050 --> 00:10:26,710
ุฃุชูƒู„ู… ุนู† ุงู„ู€ .. ูˆ ู‡ุงู† ุงู„ู€ thread ู‡ุฐู‡ ูŠุนู†ูŠ ู‡ูŠ ุงู„ูˆุญุฏุฉ
127
00:10:26,710 --> 00:10:31,010
ุงู„ุฒู…ู†ูŠุฉ ู…ู† ุฌูˆ ุณูŠู†ูŠ ู†ู‚ุฏุฑ ู†ู‚ูˆู„ู‡ุง ุงู„ู„ูŠ ู…ู† ุฎู„ุงู„ู‡ุง ุงู„ู€
128
00:10:31,010 --> 00:10:35,310
operating system ุจูŠู‚ูˆู„ ุงู„ู€ type .. ุงู„ู€ CPU ุงุดุชุบู„ ุนู„ู‰
129
00:10:35,310 --> 00:10:41,070
ุงู„ู€ task ู‡ุงูŠ ุทูŠุจ ู„ูˆ ูƒุงู† ุฃู†ุง ููŠ ุนู†ุฏูŠ 10 task ุนู„ู‰
130
00:10:41,070 --> 00:10:41,790
ุณุจูŠู„ ุงู„ู…ุซุงู„
131
00:10:44,510 --> 00:10:51,310
ุนุดุฑ ู…ู‡ุงู… ูˆุจุฏูŠ ุฃุฎู„ูŠ ุงู„ู€ system ูŠุดุชุบู„ ุจุดูƒู„ ู…ุชุฒุงู…ู† ุนู„ู‰
132
00:10:51,310 --> 00:10:56,150
ุงู„ุนุดุฑ ู…ู‡ุงู… ู‡ุฏูˆู„ ุฅูŠุด ุจุชุฑูˆุญ ุชุณูˆูŠุŸ ู‡ุฑูˆุญ ุฃู‚ูˆู„ ูˆุงู„ู„ู‡
133
00:10:56,150 --> 00:11:01,590
ุจุฏูŠ ุฃุฌุณู… ุงู„ูุชุฑุฉ ุงู„ุฒู…ู†ูŠุฉ ุชุจุนุช ุงู„ู€ CPU ุนู„ูŠู‡ู… ูƒู„ู‡ู…
134
00:11:01,590 --> 00:11:04,350
ูŠุนู†ูŠ ู‡ูŠูƒุฏ ูˆ ุจุฏูŠ ุฃูุชุฑุถ ุฃู† ุงู„ูˆุญุฏุฉ ุงู„ุฒู…ู†ูŠุฉ ุงู„ู„ูŠ ุฃู†ุง
135
00:11:04,350 --> 00:11:09,930
ุจุชูƒู„ู… ุนู„ูŠู‡ุง ูˆุงุญุฏ second ุซุงู†ูŠุฉ ูˆุงุญุฏุฉ ู‡ุฑูˆุญ ุฃู‚ูˆู„ู‡ ุฌุณู…
136
00:11:09,930 --> 00:11:16,670
ุงู„ุซุงู†ูŠุฉ ุนู„ู‰ ุนุดุฑ ุฃุฌุฒุงุก ูˆูƒู„ ุฌุฒุก ุฃุนุทูŠ ุนุดุฑ ุซุงู†ูŠุฉ ุงุนู…ู„
137
00:11:16,670 --> 00:11:20,530
execution ุนู†ู‡ ุจุณ ูŠุฎู„ุต ุงู„ูˆู‚ุช ุงู†ุชู‚ู„ ู„ู…ู†ุŸ ู„ู„ุชุงู†ูŠ
138
00:11:20,530 --> 00:11:24,430
ูˆุงู„ุชุงู„ุช ูˆุงู„ุฑุงุจุน ูˆุงู„ุฎุงู…ุณ ูˆุงู„ุณุงุฏุณ ูˆู‡ูƒุฐุง ูˆูƒู„ ู…ุง ูŠุตูŠุฑ
139
00:11:24,430 --> 00:11:28,350
ููŠ ุนู†ุฏูŠ update ุนู„ู‰ ุงู„ู€ process ุนูŠุฏูŠ ุงู„ุชุฌุณูŠู… ูˆุฅุฐุง
140
00:11:28,350 --> 00:11:32,290
ุจุชุชุฐูƒุฑ ู„ู…ุง ุฃุฎุฐุช ููŠ ุงู„ู…ู‚ุฏู…ุฉ ูˆ document ุฌุฒุฆูŠุฉ ู…ู‚ุฏู…ุฉ
141
00:11:32,290 --> 00:11:36,530
ุฃูˆ ุชุนุฑูŠู ุจุงู„ู€ operating system ุฌุงู„ูƒ ู…ู† ู…ู‡ุงู… ุงู„
142
00:11:36,530 --> 00:11:39,950
operating system ุฃูˆ ู†ุธุงู… ุงู„ุชุดุบูŠู„ ุชู†ุธูŠู…
143
00:11:41,930 --> 00:11:46,370
ูˆู‚ุช ุงู„ู…ุนุงู„ุฌ ูˆู…ุฑ ุนู„ูŠูƒ ุดุบู„ุฉ ุงุณู…ู‡ุง ุงู„ู€ CPU scheduler
144
00:11:46,370 --> 00:11:51,610
ูˆ ุงู„ู€ CPU dispatcher ู…ุธุจูˆุทุŸ ุฅูŠุด ู…ู‡ู…ุชู‡ู… ู‡ุฏูˆู„ุŸ ุงู„ุขู†
145
00:11:51,610 --> 00:11:54,770
ุงู„ู€ dispatcher ูƒุงู† ุจูŠุฑูˆุญ ุจูŠุทู„ุน ููŠ ุงู„ู€ task ุงู„ู„ูŠ
146
00:11:54,770 --> 00:11:57,830
ุจุชุจู‚ู‰ ุจู†ุนู…ู„ู‡ุง run ู…ูŠู† ุงู„ู„ูŠ ุดุบุงู„ู‡ ูˆู…ูŠู† ุงู„ู„ูŠ ุฎู„ุต
147
00:11:57,830 --> 00:12:02,210
ุงู„ู„ูŠ ุฎู„ุต ุจูŠุฑูˆุญ ุจูŠุดูŠู„ู‡ ูˆุจูŠุฑูˆุญ ุจูŠุจุนุช ุฅุดุงุฑุฉ ู„ู„
148
00:12:02,210 --> 00:12:06,720
scheduler ุฃู†ู‡ ุงู„ุขู† ููŠ ุนู†ุฏูƒ process ุฎู„ุตุช ุจูŠุฑูˆุญ ุงู„ู€
149
00:12:06,720 --> 00:12:09,760
scheduler ุจูŠุนูŠุฏ ุชู‚ุณูŠู… ุงู„ูˆู‚ุช ุนู„ู‰ ุงู„ู€ task ุงู„ู„ูŠ ุถุงูŠู„ุฉ
150
00:12:09,760 --> 00:12:13,340
ุงู„ู€ dispatcher ุฅุฌู‡ุฉ task ุฌุฏูŠุฏุฉ ุจูŠุฑูˆุญ ุจูŠู‚ูˆู„ ู„ู„
151
00:12:13,340 --> 00:12:18,440
scheduler ูˆู‚ู ุงู„ุขู† ููŠ ุนู†ุฏูŠ task ุฌุฏูŠุฏุฉ ุฌุณู… ูˆู‡ูƒุฐุง
152
00:12:18,440 --> 00:12:21,820
ูˆู‡ุฐุง ุงู„ู„ูŠ ุจูŠุตูŠุฑ ููŠ ุนู†ุฏู‡ุง ูู„ู…ุง ุฃู†ุง ุจุชูƒู„ู… ุนู„ู‰ thread
153
00:12:21,820 --> 00:12:25,280
ุจุชูƒู„ู… ุนู„ู‰ basic processing unit ู…ู† ุฎู„ุงู„ู‡ุง ุงู„ู€
154
00:12:25,280 --> 00:12:29,620
operating system ุจุญุฏุฏ ูˆู‚ุช ู…ู† ูˆู‚ุช ุงู„ู…ุนุงู„ุฌ
155
00:12:29,620 --> 00:12:34,480
processing time processor time ู„ู„ู€ thread ุงู„ู„ูŠ
156
00:12:34,480 --> 00:12:38,420
ู…ูˆุฌูˆุฏ ุนู†ุฏู‡ุง and more than one thread can be
157
00:12:38,420 --> 00:12:42,620
executed inside a process ูˆุจุงู„ุชุงู„ูŠ ุจู‚ุฏุฑ ุฃู†ุง
158
00:12:42,620 --> 00:12:46,580
ุฃูู†ูุฐู‡ุง ุทูŠุจ ุฃู†ุง ุฏุงุฎู„ ุจุฑู†ุงู…ุฌูŠ ู‡ู„ ุจู‚ุฏุฑ ุฃุตู„ ุงู„ู€
159
00:12:46,580 --> 00:12:50,020
operating system ูˆ ุฃู‚ูˆู„ู‡ ุงุดุชุบู„ ุจุงู„ุดุบู„ ู‡ุฐุงุŸ ุงู„ู…ู†ุทู‚
160
00:12:50,020 --> 00:12:53,760
ู„ุฃ ุฃู†ุช ุจุชุดุชุบู„ ุนู„ู‰ ู…ุณุชูˆู‰ ุงู„ู€ java virtual machine ูˆ
161
00:12:53,760 --> 00:12:56,760
ุจุชู‚ูˆู„ ุงู„ู€ java virtual machine ุฃู†ุง ุจุฑู†ุงู…ุฌูŠ ุจุฏู‡
162
00:12:56,760 --> 00:13:01,150
ูŠุดุชุบู„ concurrent ุงู„ู€ Java Virtual Machine ุจุชุฑูˆุญ
163
00:13:01,150 --> 00:13:04,530
ุชุจุนุช ุจุฑูˆุณ ุฅุดุงุฑุฉ ู„ู„ู€ Operating System ุฅู†ู‡ ุฃู†ุง ููŠู‡
164
00:13:04,530 --> 00:13:08,790
ุนู†ุฏูŠ ูƒู…ุงู† three different tasks ูƒู„ ูˆุงุญุฏ ุจุชุชุนุงู…ู„
165
00:13:08,790 --> 00:13:12,970
ู…ุนุงู‡ุง ูƒุฅู†ู‡ุง task ู…ุฎุชู„ูุฉ ูˆุจู‡ูŠูƒ ุฃู†ุง ุฃูƒูˆู† ุจุญู‚ู‘ูƒ ุฃูู†ุฏูŠ
166
00:13:12,970 --> 00:13:16,830
ุงู„ุดุบู„ ูƒูˆูŠุณ ุฅูŠุด ุงู„ูุงุฆุฏุฉ ุงู„ุฃุณุงุณูŠุฉ ู…ู† ุงู„ู€
167
00:13:16,830 --> 00:13:20,610
Multithreading Programming ุฅู†ู‡ ุฃุญุตู„ ุนู„ู‰ ุงู„ู€ maximum
168
00:13:20,610 --> 00:13:26,190
use ู„ู„ู…ุนุงู„ุฌ ุงุญู†ุง ุนุงู…ู„ุง ุดุงูŠููŠู†ู‡ ู…ุนุธู… ุงู„ูˆุฌูˆุฏ ู‡ูˆ ูุงุถูŠ
169
00:13:26,190 --> 00:13:30,390
ุงูŠุฏู„ ู…ุง ุจูŠุดุชุบู„ุด ูˆุจุงู„ุชุงู„ูŠ ุฃู†ุง ุจุฏูŠ ุงุณุชููŠุฏ ู…ู†ู‡ ุจุดุบู„
170
00:13:30,390 --> 00:13:37,390
ุฃูุถู„ ูˆุจุงู„ุชุงู„ูŠ ุฃู†ุง ุจุฏูŠ ุฃูˆุตู„ ุงู„ู€ maximum time ุงู„ู€
171
00:13:37,390 --> 00:13:41,770
maximum usage ุจุญูŠุซ ุฅู† ุฃุฎู„ูŠ ูˆู‚ุช ุงู„ูุฑุงุบ ุนู†ุฏ ุงู„ู…ุนุงู„ุฌ
172
00:13:41,770 --> 00:13:48,270
ุฃู‚ู„ ูˆู‚ุช ู…ู…ูƒู† ุงู„ุขู†
173
00:13:48,270 --> 00:13:55,440
ุงู„ู€ CPU process ูˆุงุญุฏ ุงุซู†ูŠู† ุซู„ุงุซุฉ ุฃุฑุจุนุฉ ุณู…ูŠู†ุงู‡ุง
174
00:13:55,440 --> 00:14:00,740
process based ู…ุธุจูˆุท process based ู„ูƒู† ุงู„ุขู† ููŠ ุงู„ู€
175
00:14:00,740 --> 00:14:04,280
thread based ููŠ ุฏุงุฎู„ ุงู„ู€ process ุงู„ูˆุงุญุฏุฉ ุฃู†ุง ุจุฏูŠ
176
00:14:04,280 --> 00:14:10,980
ุฃุนู…ู„ run ู„ู…ูŠู†ุŸ ู„ุฃูƒุซุฑ ู…ู† ุงู„ู€ process ุทุจุนุง ููŠ ุนู†ุฏูŠ ุดุบู„
177
00:14:10,980 --> 00:14:15,680
ุงุณู…ู‡ุง garbage collector ุจุชุฎุฏู…ู†ูŠ ููŠ ู‡ุงู„ู…ุฌุงู„ ุงู„ู€ task
178
00:14:15,680 --> 00:14:21,140
ุฃูˆ ุงู„ู€ thread ุงู„ู„ูŠ ุจุชุฎู„ุต ุจุชูˆู„ู‘ู‰ ุฅุฐุง ู…ุณุญู‡ุง ู…ู† ุงู„ู€
179
00:14:21,140 --> 00:14:23,200
memory ูˆู…ู† ูˆู‚ุช ุงู„ู…ุนุงู„ุฌ ุงู„ู„ูŠ ู‡ูŠ garbage collector
180
00:14:23,200 --> 00:14:26,460
ุจุชุฑูˆุญ ุจู„ู…ู‘ู… ูƒู„ ุดุบู„ุฉ ูƒู„ ุงู„ู€ data ูƒู„ ุงู„ู€ temporary
181
00:14:26,460 --> 00:14:30,800
locations ุงู„ู„ูŠ ู…ุฑุชู‡ุง ูˆุจุนู…ู„ู‡ุง free ูˆุจุฑู…ูŠ ุงู„ู€
182
00:14:30,800 --> 00:14:36,480
unused data ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏู†ุง ููŠ ุดุบู„ู†ุง ุงุญู†ุง ุนู„ู‰
183
00:14:36,480 --> 00:14:40,400
ุงู„ุฃู‚ู„ ู„ู…ุง ูƒู†ุช ุจูƒุชุจ sequential program ุจูƒุชุจ
184
00:14:40,400 --> 00:14:44,850
ุงู„ุจุฑู†ุงู…ุฌ ุนู„ู‰ ุฅู†ู‡ single thread ูŠุนู†ูŠ ุฃู†ุง ู…ุง ุจูƒุชุจ ุงู„ู€
185
00:14:44,850 --> 00:14:48,530
main ุชู…ุงู… ุจูƒุชุจ single thread ุชู…ุงู…ุŒ ูˆุฅู† ูƒุงู†ุช ู‡ูŠ ุงู„ู€
186
00:14:48,530 --> 00:14:54,890
main ุงู„ู€ thread ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏูŠ ุทูŠุจุŒ ุงู„ุขู† ุชุนุงู„ูŽ
187
00:14:54,890 --> 00:15:00,110
ู†ุดูˆู ู…ุซุงู„ ู„ูˆ ุฃู†ุง ููŠ ุนู†ุฏูŠ ุณุทุฑ ูˆุงุญุฏ ูˆุงุซู†ูŠู† ูˆุซู„ุงุซุฉ
188
00:15:00,110 --> 00:15:06,850
ูˆู‡ู†ุง ุฑูˆุญุช ุงุณุชุฏุนูŠ function ูˆ
189
00:15:06,850 --> 00:15:08,250
ุงู„ู€ function ู‡ุฐู‡ ููŠู‡ุง meet line
190
00:15:13,210 --> 00:15:19,990
ุญุฌู… ุจุฑู†ุงู…ุฌ ูƒุฏุงุดุŸ ูƒุงู… ุณุทุฑุŸ
191
00:15:19,990 --> 00:15:28,690
ุญุฌู… ุจุฑู†ุงู…ุฌ ูƒู„ .. ูƒุงู… ุณุทุฑุŸ 103 103 line ู„ุฃู† ู‡ุฐู‡
192
00:15:28,690 --> 00:15:31,390
height extension ุงุญู†ุง ู„ูŠุด ุงุณุชุฎุฏู…ู†ุง ุงู„ู€ function
193
00:15:31,390 --> 00:15:38,340
ู„ุดุบู„ุชูŠู† ุฃุณุงุณูŠุงุชุŸ Code Usability Reusability ู…ุธุจูˆุท
194
00:15:38,340 --> 00:15:41,040
ุนุดุงู† ุฃุณุชุฎุฏู… ุงู„ู€ code ู…ุฑุฉ ุซุงู†ูŠุฉ ูˆุฅู…ุง ุจุฏูŠู‡ุง ุฃุตูŠุฑ
195
00:15:41,040 --> 00:15:43,700
ุฃุณุชุฏุนูŠู‡ุง ุจุฏู„ ู…ุง ุฃุถุทุฑ ุฃูƒุชุจู‡ุง ูˆุนุดุงู† ุงู„ู€ code
196
00:15:43,700 --> 00:15:47,160
maintenance ู„ู…ุง ุฃุตู„ุญ ููŠ ุงู„ูƒูˆุฏ ู‡ุฑูˆุญ ุฃุตู„ุญ ุนู„ู‰ ุงู„ู€
197
00:15:47,160 --> 00:15:49,900
function ู†ูุณู‡ุง ูˆุจุงู„ุชุงู„ูŠ ูƒู…ุงู† code organization
198
00:15:49,900 --> 00:15:56,820
ุชุฑุชูŠุจ ู„ุนู…ู„ูŠุฉ ุงู„ู€ code ุงู„ู„ูŠ ุนู†ุฏูŠ ุงู„ุขู† ู…ุด ู‡ู†ุชู‚ู„ ู„ู„ุณุทุฑ
199
00:15:56,820 --> 00:16:02,830
ุซู„ุงุซุฉ ู‡ู†ุง ุฅู„ุง ุจุนุฏ ู…ุง ู‡ุฏูˆู„ 100 ุณุทุฑ ูŠุฎู„ุตูˆุง ู…ุธุจูˆุท ุงู„ุขู†
200
00:16:02,830 --> 00:16:05,590
ุจุงู„ู€ Multithreading ุงู„ู„ูŠ ุญูŠูƒูˆู† ุนู†ุฏูŠ ูƒุงู„ุชุงู„ูŠ ู‡ูˆ
201
00:16:05,590 --> 00:16:10,210
ุฃุดุจู‡ ุจุงู„ู€ function ู‡ูŠูƒ ุญูŠูƒูˆู† ุงู„ุดุบู„ ู„ูƒู† ู„ู…ุง ุฃู†ุง ุฃุฑูˆุญ
202
00:16:10,210 --> 00:16:16,350
ุฃู‚ูˆู„ ู„ู‡ ุงุณุชุฏุนูŠ ุงู„ู€ function ู‡ุฐู‡ ุฎู„ุงุต ู…ุด ู‡ุณุชู†ู‡ุง ู„ู…ุง
203
00:16:16,350 --> 00:16:22,670
ุชุฎู„ุต ุฃุฑูˆุญ ุฃู†ุชู‚ู„ ู„ู„ุณุทุฑ ุงู„ู„ูŠ ูˆุฑุงู‡ุง ุจุดูƒู„ ู…ุจุงุดุฑ ู‡ูŠ
204
00:16:22,670 --> 00:16:26,330
ููƒุฑุฉ ุงู„ู€ concurrent ุฅู† ุฃู†ุง ุงู„ุขู† ู…ุง ุถู„ู‘ุด ูˆุงู‚ู ู‡ู†ุง
205
00:16:26,330 --> 00:16:29,930
ุจุฃุณุชู†ู‰ ุฅู† ู‡ุฐู‡ ุชุฎู„ุต ุนุดุงู† ุฃู†ุชู‚ู„ ู„ู„ู€ next step ู„ุฃ ููŠ
206
00:16:29,930 --> 00:16:33,210
ุงู„ู€ multitrading ุฅู† ุฃู†ุง ุจู‚ูˆู„ู‡ ุงุณุชุฏุนู‰ ุงู„ู€ function
207
00:16:33,210 --> 00:16:38,970
ู‡ุฐู‡ ูˆู…ุจุงุดุฑุฉ ุจุนุฏ ู…ุง ุชู… ุนู…ู„ูŠุฉ ุงู„ู€ calling ุจุนู…ู„ move
208
00:16:38,970 --> 00:16:44,130
ู„ู„ู€ next step ุจุนู…ู„ ุดูˆูŠุฉ ููŠ ุงู„ู…ู†ุทู‚ุฉ ู‡ุฐู‡ ุงู‡ ..
209
00:16:44,130 --> 00:16:47,590
ุงู„ุขู† ู„ู…ุง ุจู†ุดุชุฌ ู†ุชูƒู„ู… ุนู„ู‰ ุงู„ู€ dependency ู„ู…ุง ู†ุตูŠุฑ
210
00:16:47,590 --> 00:16:50,450
ู†ุชูƒู„ู… ุนู„ู‰ ุงู„ู€ dependency ุงู„ูˆุถุน ุจุฏู‡ ูŠุฎุชู„ู ุงู„ุขู† ุฅุฐุง
211
00:16:50,450 --> 00:16:54,890
ูƒุงู†ุช ุซู„ุงุซุฉ ู…ุนุชู…ุฏุฉ ุนู„ู‰ ุงุซู†ูŠู† ู…ุง ุจู‚ุฏุฑุด ุฃุฎุฏ ุงู„ู€ step
212
00:16:54,890 --> 00:16:57,550
ุนุดุงู† ู‡ูŠูƒ ุฃู†ุง ู…ู† ุงู„ุจุฏุงูŠุฉ ู„ู…ุง ุญุทูŠุช ุงู„ู…ุซุงู„ ุงู„ู€
213
00:16:57,550 --> 00:17:00,690
factorial ุชุจุนุช ุงู„ู€ a ูˆุงู„ู…ุซุงู„ ุงู„ู€ b ู…ุง ููŠุด ุจูŠู†ู‡ู…
214
00:17:00,690 --> 00:17:04,310
dependency ู…ุง ููŠุด ุจูŠู†ู‡ู… ุงุนุชู…ุงุฏูŠุฉ ู…ุทู„ู‚ุง ุทูŠุจ
215
00:17:08,750 --> 00:17:12,510
ุงู„ู€ main method has been invoked by desired class
216
00:17:12,510 --> 00:17:16,930
ูˆุฃู†ุช ูุนู„ูŠุง ุฒูŠ ู…ุง ู‚ู„ู†ุง ุนู„ู‰ ุงู„ุฃู‚ู„ ุนู†ุฏูŠ one thread ู…ู†
217
00:17:16,930 --> 00:17:20,310
ุฎู„ุงู„ ุงู„ู€ main method ุฃู†ุช ุงุณุชุฏุนุชูŠู‡ุง ุงู„ู€ thread ุจุดูƒู„
218
00:17:20,310 --> 00:17:24,770
ุนุงู… ุงู„ู€ state ุชุจุนุชู‡ ุฃูˆ ุงู„ู€ properties ุชุจุนุชู‡ ุฅู…ุง
219
00:17:24,770 --> 00:17:31,940
ุจูŠูƒูˆู† ุดุบุงู„ ุจูŠุนู…ู„ processing ุฃูˆ ุจูŠุนู…ู„ pause ูˆุงู‚ู
220
00:17:31,940 --> 00:17:36,020
ุจูŠุณุชู†ู‰ ุดุบู„ุฉ ุจูŠุณุชู†ู‰ activity ู…ุนูŠู†ุฉ ุจูŠุณุชู†ู‰ resource
221
00:17:36,020 --> 00:17:40,900
ู…ุนูŠู† ุจูŠุณุชู†ู‰ ุฒู…ู† ู…ุนูŠู† ุนุดุงู† ุฅูŠุดุŸ ูŠุนู…ู„ resume ูˆูŠูƒู…ู„
222
00:17:40,900 --> 00:17:46,980
ุงู„
223
00:17:46,980 --> 00:17:53,060
pause ู…ูˆู‚ู ุจุดูƒู„ manual ุจูŠุณุชู†ู‰
224
00:17:53,060 --> 00:17:56,520
resource ูŠุชุญุฑุฑ
225
00:18:00,230 --> 00:18:03,850
ุฃูˆ ุจู†ุนู…ู„ู‡ terminated ุฎู„ุต ุดุบู„ู‡ ุงู„ุขู† ุงุญู†ุง ุนุงูŠุด ุฃูˆ
226
00:18:03,850 --> 00:18:07,010
ุตุงุฑ ููŠ error ูˆุจุฏู‡ ุงู„ู€ thread ู‡ุฐุง ูŠุทูุฆ ุชู…ุงู…ุง ู‡ูˆ
227
00:18:07,010 --> 00:18:12,090
ุญุงู„ุฉ .. ุญุงู„ุฉ ุงู„ุจุฑู†ุงู…ุฌ ุชู…ุงู…ุง ุชู…ุงู…ุง ุงู„ุจุฑู†ุงู…ุฌ ุฅู…ุง
228
00:18:12,090 --> 00:18:19,130
ุจูŠูƒูˆู† ุดุบุงู„ ู…ุธุจูˆุท ุฃูˆ ูุนู„ูŠุง ุฃูˆ ู…ู…ูƒู† ุฃุฑูˆุญ ุฃูˆู‚ูู‡ ู…ู†
229
00:18:19,130 --> 00:18:22,650
ุฎู„ุงู„ ุงู„ู€ command ุงู„ู„ูŠ ุงุณู…ู‡ sleep ูˆุฏูŠ time ุจุงู„
230
00:18:22,650 --> 00:18:28,150
milisecond thread
231
00:18:30,220 --> 00:18:37,900
ุฃูƒุชุจ ููŠ ุงู„ุฏุงุฎู„ ูˆุงุถุบุท sleep ู…ุซู„ุง ุซู„ุงุซ
232
00:18:37,900 --> 00:18:40,540
ุซู„ุงุซุฉ ู…ูŠู„ูŠ ุณุงูƒู† ู…ุนู†ุงู‡ ูŠู…ูƒู†ู‡ ูŠุณุชู†ู‰ ุฃูˆ ูŠู†ุงู… ุซู„ุงุซ
233
00:18:40,540 --> 00:18:44,460
ุซูˆุงู†ูŠ ูˆูŠูƒู…ู„ ุงู„ุดุบู„ ุชู…ุงู…ุŸ ูุฃู†ุง ุจุดูƒู„ ุฃูˆ ุจุฃุฎุฑ ูˆู‚ูุชู‡
234
00:18:44,460 --> 00:18:49,100
ุนู† ุงู„ุดุบู„ ุงู„ุขู† ุฃูˆ
235
00:18:49,100 --> 00:18:52,860
blocked when waiting ุฃูˆ ููŠ ุญุงู„ุฉ block ู‚ุงุนุฏ ุจูŠุณุชู†ู‰
236
00:18:52,860 --> 00:18:57,480
resource ู…ุนูŠู† ุจุฏู‡ ูŠู‚ุฑุฃู‡ ู„ูƒู† ุงู„ู€ resource ู‡ุฐุง ู…ุญุฌูˆุฒ
237
00:18:58,550 --> 00:19:02,170
ู…ู† ุฎู„ุงู„ thread ุซุงู†ูŠ ุฃูˆ application ุซุงู†ูŠ ุฃูˆ ุนู…ุงู„ู‡
238
00:19:02,170 --> 00:19:06,730
ุจูŠุณุชู†ู‰ task ุฃูˆ thread ูŠุฎู„ุต result ูˆูŠู‚ูˆู„ ุงุชูุถู„
239
00:19:06,730 --> 00:19:11,950
ูู‡ุฐุง ูŠุฏุฎู„ ููŠ ู…ุฑุญู„ุฉ ุฅูŠุดุŸ ุงู„ู€ way ุฃูˆ ุงู„ุญุงู„ุฉ ุงู„ุซุงู„ุซุฉ
240
00:19:11,950 --> 00:19:15,450
ุงู„ุฃุฎูŠุฑุฉ terminated ุฅู† ูุนู„ูŠุง ุฅู† ุงู„ู€ thread ู‡ุฐุง ู„ุงุฒู…
241
00:19:15,450 --> 00:19:19,670
ูŠุฌู thread ู‡ุฐุง ู„ุงุฒู… ูŠุฌู ู„ุฃู† ุฅูŠุด ุงู„ูุฑู‚ ุจูŠู† ุงู„ู€
242
00:19:19,670 --> 00:19:24,510
terminated ูˆุงู„ู€ paused ุฃูˆ ุงู„ู€ suspended ุงู„ู€ paused
243
00:19:24,510 --> 00:19:28,980
ู„ุง ู„ุง ุงู„ู€ paused ุจู‚ู‰ ุจู‚ุฏุฑ ุฃุนู…ู„ resume ุจุฎู„ูŠู‡ ูŠูƒู…ู„ ุงู„
244
00:19:28,980 --> 00:19:32,600
boss ุจุฎู„ูŠู‡ ูŠูƒู…ู„ terminated ุฎู„ุงุต ู…ุง ููŠุด ุฑุงุฌุนุฉ ู…ุง ููŠุด
245
00:19:32,600 --> 00:19:36,380
ุฑุงุฌุนุฉ ูˆู…ุง ููŠุด ุงุณุชู…ุฑุงุฑูŠุฉ ููŠ ุงู„ุนู…ู„ ุจุงู„ู€ Java ููŠ ุนู†ุฏูŠ
246
00:19:36,380 --> 00:19:44,500
six states ุณุช ุญุงู„ุงุช ู…ู† ุฃุฌู„ ุชุนุฑูŠู ุฃูˆ ุจุชุนุฑู ุญุงู„ุฉ ุงู„
247
00:19:44,500 --> 00:19:49,260
thread ุงู„ุญุงู„ุฉ ุงู„ุฃูˆู„ู‰ new ุนุฑูุช ุงู„ู€ thread ู„ูƒู†ูŠ
248
00:19:49,260 --> 00:19:51,240
ู…ุดุบู„ุชู‡ูˆุด
249
00:19:52,840 --> 00:19:56,320
ุนุฑูุช thread object ุจู†ูŠุชู‡ ูˆุญุฏุฏุช ุงู„ู€ task ู„ูƒู†ู‡ ู…ุง
250
00:19:56,320 --> 00:20:00,960
ุฏุฎู„ุด ููŠ ุงู„ู€ run runnable ู„ู…ุง ุฃู†ุง ุจุฏุฃุช ุฃูˆ ุญุทูŠุช ุงู„
251
00:20:00,960 --> 00:20:05,680
state ููŠ ุญุงู„ุฉ execution ุจุฏุฆูŠ ุงุดุชุบู„ blocked ูˆุงู†ุชุจู‡ูŠ
252
00:20:05,680 --> 00:20:09,740
ูƒูˆูŠุณ ู„ุฃู† ุงู„ู€ state blocked ู‡ู†ุง ู…ูู‡ูˆู…ู‡ุง ุฅู† ุงู„ู€ thread
253
00:20:09,740 --> 00:20:18,520
is waiting ุจูŠู†ุชุธุฑ ุฅูŠุดุŸ for a lock to access object
254
00:20:18,520 --> 00:20:27,060
ูŠุนู†ูŠ ุงู„ุขู† ุงู„ู€ thread ุจุฏู‡ ูŠุณุชู†ู‰ ุงู„ู…ู„ู ู„ู…ุง ูŠุชุญุฑุฑ ุนุดุงู†
255
00:20:27,060 --> 00:20:34,240
ุฅูŠุดุŸ ูŠุงุฎุฏู‡ุŒ ู‡ุฐุง ููŠ ู…ุฑุญู„ุฉ ุฅูŠุดุŸ Blocked Waiting
256
00:20:34,240 --> 00:20:39,420
state in which ุงู„ู€ waiting ุฅู†ู‡ ู‚ุงุนุฏ ุจูŠุณุชู†ู‰ thread
257
00:20:39,420 --> 00:20:45,960
ุซุงู†ูŠ ูŠุฎู„ุต ุงู„ู€ action ูŠุฎู„ุต ุงู„ู€ action ููŠ ุงู„ู€ block ู‡ูˆ
258
00:20:45,960 --> 00:20:50,600
ุจูŠุณุชู†ู‰ ู…ูŠู†ุŸ ุจูŠุณุชู†ู‰ ุงู„ู€ resource ูŠุชุญุฑุฑ ุจูŠุณุชู†ู‰ ุงู„ู€
259
00:20:50,600 --> 00:20:54,880
resource ูŠุชุญุฑุฑ ุจุงู„ู€ waiting ู‡ูˆ ุจูŠุณุชู†ู‰ resource ุซุงู†ูŠ
260
00:20:54,880 --> 00:20:59,420
ุนุดุงู† ูŠุงุฎุฏ ุงู„ู€ action ุชุจุนุชู‡ ุฃูˆ ูŠุงุฎุฏ ุงู„ู€ result ู…ู†ู‡ ุงู„ู€
261
00:20:59,420 --> 00:21:04,420
time waiting ุฃู†ุง ู…ุญุฏุฏ ุฒู…ู† ู…ุนูŠู† ู„ู‡ thread ู‡ุฐุง ุฅู†
262
00:21:04,420 --> 00:21:09,740
ุฃุนู…ู„ู‡ pause ุจุญูŠุซ ุฅู†ู‡ ูŠูƒูˆู† ููŠ ุฅูŠู‡ ุนู†ุฏูŠ ุถู…ู† ูุชุฑุฉ
263
00:21:09,740 --> 00:21:15,640
ุฒู…ู†ูŠุฉ ู…ุนูŠู†ุฉ ุฃู†ุง ุจุฏูŠ ุฃุดุบู„ู‡ ูˆ terminated ุฅู† ุฃู†ุง ุจุฏูŠ
264
00:21:15,640 --> 00:21:20,140
ุฃุทููŠู‡ ุฎู„ุต ุชู…ุงู… ู„ูŠุด ู‡ุฐู‡ ุงู„ุญุงู„ุงุช ู…ูˆุฌูˆุฏุฉ ุนู†ุฏูŠ ู‡ู†ุงุŸ
265
00:21:20,140 --> 00:21:22,900
ุนุดุงู† ู…ู…ูƒู† ุฃู†ุง ุฃุณุฃู„ ุนู† ุญุงู„ุฉ ุงู„ู€ thread ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ
266
00:21:22,900 --> 00:21:26,720
ุนู†ุฏูŠ ููŠ ุฃูŠ ุญุงู„ุฉ ุนุดุงู† ุฃู‚ุฏุฑ ุฃูƒู…ู„ ุฃูˆ ุฃุนุฑู ุฅูŠุด ุงู„ู„ูŠ ุตุงุฑ
267
00:21:26,720 --> 00:21:30,100
ุนู†ุฏูŠ ููŠ ุงู„ู€ application ู„ูˆ ุฃู†ุง ุจุฏูŠ ุฃู†ุดุฆ ุงู„ู€ thread
268
00:21:30,100 --> 00:21:35,140
ุนุดุงู† ุฃู†ุดุฆ ุงู„ู€ thread ู‚ุฏุงู…ูŠ ุทุฑูŠู‚ุชูŠู† ุทุฑูŠู‚ุฉ ุงู„ุฃูˆู„ู‰ ุจุฏูŠ
269
00:21:35,140 --> 00:21:41,540
ุฃุนู…ู„ extend ู„ู„ู€ thread class ุฃูˆ ุทุฑูŠู‚ุฉ ุงู„ุซุงู†ูŠุฉ ุจุฏูŠ
270
00:21:41,540 --> 00:21:47,440
ุฃุนู…ู„ implement ู„ู„ู€ runnable interface ูŠุนู†ูŠ ุงู„ุขู† ุงู„ู€
271
00:21:47,440 --> 00:21:50,080
application ุชุจุนูŠ ุฃูˆ ุงู„ู€ class ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ุงุดุชุบู„ู‡
272
00:21:50,080 --> 00:21:55,600
ุจุญูŠุซ ุฅู†ู‡ ูŠุนู…ู„ multi-threading ุจุฏูŠ ูŠูƒูˆู† ููŠู‡ ุฃูˆ ูˆุงุญุฏ
273
00:21:55,600 --> 00:21:57,800
ู…ู† ุญุงู„ุชูŠู† ุฅู…ุง ุนุงู…ู„ implement ู„ู„ู€ runnable
274
00:21:57,800 --> 00:22:03,340
interface ุฃูˆ ุนุงู…ู„ extent ู„ู…ูŠู†ุŸ ู„ู„ู€ thread ุทูŠุจ ูˆููŠ
275
00:22:03,340 --> 00:22:06,360
ูƒุฏู‡ ุงู„ุญุงู„ุชูŠู† ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ implementation ู„ู…ูŠู†ุŸ
276
00:22:06,360 --> 00:22:12,260
ู„ู…ูŠุซูˆุฏ ุงุณู…ู‡ุง run ุงู„ู„ูŠ ู‡ูŠ ุจุชู…ุซู„ ุงู„ู€ main method ุงู„ู€
277
00:22:12,260 --> 00:22:17,230
main method ู„ู„ู€ thread ุงู„ู€ main method ู„ู„ู€ thread ูŠุนู†ูŠ
278
00:22:17,230 --> 00:22:20,770
ุงู„ุขู† ู„ูˆ ุฃู†ุง ุณุฃู„ุชูƒ ููŠ ุงู„ู€ application ุชุจุนุชู†ุง ุงู„ู€
279
00:22:20,770 --> 00:22:23,770
application ุชุจุนุชู†ุง ุงู„ู„ูŠ ุงุญู†ุง ุจู†ุดุชุบู„ู‡ ู„ุญุฏ ุงู„ู„ุญุธุฉ ู…ุด
280
00:22:23,770 --> 00:22:27,830
ููŠ ุนู†ุฏู†ุง method ุฏุงุฆู…ุง ุจุจุฏุฃ ู…ู†ู‡ุง ุฏุงุฆู…ุง ุงู„ู„ูŠ ู‡ูŠ ุงู„
281
00:22:27,830 --> 00:22:32,670
main ุงู„ู€main ู‡ุฐู‡ ู†ู‚ุทุฉ ุงู„ุจุฏุงูŠุฉ ุชุญุช ุงู„ู€main thread ูˆ
282
00:22:32,670 --> 00:22:36,290
ู…ู† ู‡ู†ุง ุงุณู…ู‡ุง main ุงู„ุขู† ููŠ ุงู„ู€thread ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ
283
00:22:36,290 --> 00:22:39,910
ุฃุนู…ู„ู‡ ุจุฏูŠ ุฃู†ุดุฆู‡ ู‡ุชูƒูˆู† ู†ู‚ุทุฉ ุจุฏุงูŠุฉ ุงู„ู€thread ู…ู† ู…ูŠู†ุŸ
284
00:22:40,430 --> 00:22:43,370
ู…ู† ุงู„ู€run ู†ู‚ุทุฉ ุจุฏุงูŠุฉ ุงู„ู€thread ู…ู† ุงู„ู€run ูˆู…ุง
285
00:22:43,370 --> 00:22:50,030
ุชู†ุณูŠุด ู„ู…ุง ูƒุชุจุช ุงู„ู€code ู‚ูˆู„ุช ูˆุงุญุฏ ุงุชู†ูŠู† ุชู„ุงุชุฉ ุฃุฑุจุนุฉ
286
00:22:50,030 --> 00:22:56,330
ุฎู…ุณุฉ ุณุชุฉ ุณุจุนุฉ ุชู…ุงู†ูŠุฉ ุชุณุนุฉ ูˆุนุดุฑุฉ ูˆู‡ุฐุง ุจูŠุตูŠุฑ ุดูƒู„ ุงู„ู€
287
00:22:56,330 --> 00:23:03,490
application ุชุจุนูŠ ูŠุนู†ูŠ ูˆุงุญุฏ ูŠุนู†ูŠ
288
00:23:03,490 --> 00:23:09,050
.. ุฎู„ู‘ูŠู†ุง ู†ุณู…ูŠู‡ sequential execution ููŠ ุฌุฒุก ู…ุนูŠู† ุจุนุฏ
289
00:23:09,050 --> 00:23:13,400
ู‡ูŠูƒ ุงู„ู€sequential execution ู‡ุฐู‡ ู…ู‡ู…ุชู‡ุง ุชูƒูˆู† ุญุถุฑุช
290
00:23:13,400 --> 00:23:17,960
ู„ู„ู€threading ูˆุจุนุฏ ุฐู„ูƒ ุชุนู…ู„ ุชุนู…ู„ branching ูˆุจุนุฏ ู…ุง
291
00:23:17,960 --> 00:23:23,300
ุฃุฎู„ุต ุฃุฑูˆุญ ุจุงุชุฌุงู‡ ุงู„ู€application ุชุงุจุน ุนุดุงู† ุฃู†ู‡ูŠ
292
00:23:23,300 --> 00:23:29,560
ุชู…ุงู…ุŸ ูˆุจุงู„ุชุงู„ูŠ ุงู„ุขู† ุจุฏุงูŠุฉ ุงู„ู€thread ู‡ู†ุง ู‡ุชูƒูˆู† ู…ู†
293
00:23:29,560 --> 00:23:34,800
ุฎู„ุงู„ ุงู„ู€run method ุฒูŠ ู…ุง ู‡ู†ุดูˆู ุงู„ุขู† ููŠ ุงู„ู€
294
00:23:34,800 --> 00:23:40,320
implementation ุจุนุฏ ู‡ูŠูƒ ููŠ ุนู†ุฏูŠ method ููŠ ุงู„ู€class
295
00:23:40,320 --> 00:23:46,280
thread ุงุณู…ู‡ุง run static method ุงุณู…ู‡ุง run ูˆุฃู†ุง ู…ู†
296
00:23:46,280 --> 00:23:49,480
ุฎู„ุงู„ ุงู„ู€run ู‡ูŠ ุงู„ู„ูŠ ุจุชุฑูˆุญู‡ุงุด ุฃูˆ ุนููˆุง start ุจุฑูˆุญ
297
00:23:49,480 --> 00:23:53,920
ุจุชุนู…ู„ call ู„ู…ูŠู†ุŸ ู„ู„ู€run method ู„ู€start ูŠุนู†ูŠ ุฃู†ุง
298
00:23:53,920 --> 00:23:57,760
ุจูƒุชุจู„ู‡ thread.start ุจุฑูˆุญ ุจุนู…ู„ run ุฃูˆ ุจุนู…ู„ calling
299
00:23:57,760 --> 00:24:03,120
ู„ู„ู€run method ุชุนุงู„ ู†ุดูˆู ุจุนุถ ุงู„ู€code ุงู„ุจุณูŠุท ุงู„ู„ูŠ
300
00:24:03,120 --> 00:24:08,390
ุนู†ุฏู‡ ู‡ุฐุง ุงู„ู€code ุงู„ุฃูˆู„ ุฃู†ุง ุนู…ู„ุช implement ู„ู…ูŠู†ุŸ ุฃูˆ
301
00:24:08,390 --> 00:24:14,350
extend ู„ู…ูŠู†ุŸ ู„ู„ู€thread class extend ู„ู„ู€thread class
302
00:24:14,350 --> 00:24:21,210
ู‡ุงูŠ ุงู„ู€constructor ุชุจู‚ู‰ ู„ู„ู€thread ูˆู…ุฏูŠู‡ุง integer
303
00:24:21,210 --> 00:24:28,170
ุณู…ู‘ูŠ sleep ู‚ูˆู„ู†ุง ููŠ ุฏุงุฎู„ ุงู„ู€extend ู„ุงุฒู… ุฃุนู…ู„
304
00:24:28,170 --> 00:24:33,440
implement ู„ู…ูŠุซูˆุฏ ุงุณู…ู‡ุง run ููŠ ุฏุงุฎู„ ุงู„ู€run super
305
00:24:33,440 --> 00:24:39,760
.run for ุงู„ูˆุงุญุฏ ู„ู…ูŠุฉ ุฃูˆ ู…ู† ุงู„ุตูุฑ ู„ู…ูŠุฉ system.print
306
00:24:39,760 --> 00:24:44,280
this.get name ู…ูŠู† ุงู„ู€thisุŸ ุนู„ู‰ ู…ูŠู† ุจุชุนูˆุฏ ุงู„ู€thisุŸ
307
00:24:44,280 --> 00:24:50,860
ุนู„ู‰ ุงู„ู€my thread ุงู„ู€this ุจุชุนูˆุฏ ุนู„ู‰ ุงู„ู€my thread
308
00:24:50,860 --> 00:24:54,700
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏู‡ุง ู„ุฃู† ุงู„ู…ูุฑูˆุถ ุงู„ู€this ุจุชุฑุฌุน ู„ู…ูŠู†ุŸ ู„ู€
309
00:24:54,700 --> 00:24:58,720
object ุตุญุŸ ู…ูŠู† ุงู„ู€object ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ููŠ ุฏุงุฎู„ู‡ุŸ my
310
00:24:58,720 --> 00:25:03,380
thread ูˆู‡ูŠ ุชู‚ูˆู„ู‡ุง ุงู„ู€constructor ุงุทุจุน ู„ูŠ ุงุณู… ุงู„ู€
311
00:25:03,380 --> 00:25:07,980
thread ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏู‡ุง ูˆุงู„ู€counter ุชุจุนุช ุงู„ู€I ูˆ
312
00:25:07,980 --> 00:25:12,680
ุฃุนู…ู„ sleep ุจู…ู‚ุฏุงุฑ ูุชุฑุฉ ุฒู…ู†ูŠุฉ ุงู„ู„ูŠ ุฃู†ุง ู…ู…ุฑุฑู‡ุง ุทูŠุจ
313
00:25:12,680 --> 00:25:17,290
ุงู„ุขู† ู‡ุฐุง ุงู„ู€code ุจุณ ุนุดุงู† ุฃูˆุฑู‘ุฌูŠูƒูŠ ุฃุซู†ุงุก ุงู„ู€Runtime
314
00:25:17,290 --> 00:25:22,270
ุฃู†ู‡ ูุนู„ูŠู‹ุง ู…ุฑุฉ ู‡ูŠุทุจุน ุงู„ู…ุนุงู„ุฌ ู…ู† ุงู„ู€thread ูˆุงุญุฏ ูˆ
315
00:25:22,270 --> 00:25:25,630
ุงุชู†ูŠู† ูˆุชู„ุงุชุฉ ูˆุงุญุฏ ูˆุงุชู†ูŠู† ูˆุชู„ุงุชุฉ ูˆุงุญุฏ ูˆุชู„ุงุชุฉ ูˆ
316
00:25:25,630 --> 00:25:29,830
ุงุชู†ูŠู† ูˆุชู„ุงุชุฉ ูˆุงุญุฏ ูˆุงุชู†ูŠู† ููƒู„ ู…ุฑุฉ ู‡ุชุญุณูŠ ุนู…ู„ูŠุฉ
317
00:25:29,830 --> 00:25:34,430
ุงู„ุทุจุงุนุฉ ุนุดุงู† ุฅูŠู‡ุŸ ู‚ูˆู„ุช ู„ู‡ ุงุฏูŠู†ูŠ ุงุณู… ุงู„ู€thread ุชู…ุงู…ุŸ ูˆ
318
00:25:34,430 --> 00:25:37,830
ุงู„ู€value ุชุจุนุช ุงู„ู€I ุจุณ ุนุดุงู† ูŠูƒูˆู† ู…ุซุงู„ ุณู‡ู„ ุงู„ุฃุตู„ ุงู„ู€
319
00:25:37,830 --> 00:25:42,010
code ู…ุด ู‡ูŠูƒ ูŠูƒูˆู† ุงู„ุขู† ููŠ ุฏุงุฎู„ ุงู„ู€run ุจุฏูŠ ุฃู‚ุฑุฃ ู…ู„ู
320
00:25:42,010 --> 00:25:45,630
ู…ุซู„ู‹ุง ุจุฏูŠ ุฃุญู‚ู‚ ุจุงู„ูƒูˆู† ุชุจุน ู‚ุฑุงุกุชูŠ ุงู„ู…ู„ู ุงู„ู„ูŠ ู‡ู†ุง ุจุฏูŠ
321
00:25:45,630 --> 00:25:50,930
ุฃุญุณุจ ุงู„ู€.. ุงู„ู€average ู„ู‚ุฑุงุน ุญุฌู…ู‡ุง ู…ุงุฆุฉ ู…ู„ูŠูˆู†
322
00:25:50,930 --> 00:25:56,290
element ุจุฏูŠ ุฃุจุฏุฃ ุฅูŠุด ููŠ ุนู…ู„ูŠุฉ execution ู‡ู†ุง ุทูŠุจ ุงู„ู€
323
00:25:56,290 --> 00:25:59,590
implementation ุงู„ุชุงู†ูŠ ุจูˆุฏ ุฃุนู…ู„ implement ู„ู…ูŠู†ุŸ ุฃูˆ
324
00:25:59,590 --> 00:26:02,210
ุงู„ู€code ุงู„ุชุงู†ูŠ ุฃุนู…ู„ implement ู„ู„ู€runnable interface
325
00:26:02,210 --> 00:26:05,630
implement
326
00:26:05,630 --> 00:26:11,750
ู„ู„ู€runnable constructor ุชุจุน ุงู„ู€my runable ู‡ูŠ ู†ูุณ ุงู„ูƒู„ุงู…
327
00:26:11,750 --> 00:26:15,450
ู…ุฑู‘ุช ู„ู‡ sleep ูˆุฑุญุช ููŠ ุงู„ู€run implementation ูƒุชุจุช
328
00:26:15,450 --> 00:26:20,610
ู†ูุณ ุงู„ู€code ุงู„ุณุงุจู‚ print ู…ู† ุงู„ู€runable ูˆุฑุญุช ุจุนู…ู„
329
00:26:20,610 --> 00:26:24,670
sleep ุงู„ู…ูุฑูˆุถ ู‡ู†ุนุชู…ุฏ ุนู„ู‰ ุงู„ู€sleep ุจู‡ู…ุด ุจุณ ููŠ ุฎุทุฃ
330
00:26:24,670 --> 00:26:31,090
ุจุณูŠุท ููŠ ุงู„ู€code ุนู„ู‰ ุงู„ู€sleep ูˆู„ุง ุญุงุฌุฉ ุฃูุฑุฌ ุบูŠุฑ ุฃู†ู‡
331
00:26:31,090 --> 00:26:31,930
God extend
332
00:26:34,380 --> 00:26:38,920
extend thread ุฃูˆ implement runnable ุทูŠุจ ููŠ ุฏุงุฎู„
333
00:26:38,920 --> 00:26:42,100
ุจุฑู†ุงู…ุฌูŠ ุงู„ุฃุณุงุณูŠ ุงู„ู„ูŠ ู‡ูˆ ุงู„ุฌุฒุฆูŠุฉ ุงู„ุฃูˆู„ู‰ ุฑู‚ู… ูˆุงุญุฏ
334
00:26:42,100 --> 00:26:46,460
ู‡ุฐู‡ ุงู„ู€class ุงู„ู„ูŠ ุจุฏู‡ ุงุนุชู…ุฏ ุนู„ูŠู‡ ุดุบู„ู‡ู… ุชุนุงู„ู‰ ู†ุดูˆู
335
00:26:46,460 --> 00:26:52,580
ุฃุฎุฏ object ู…ู† ู…ุงุฏุฉ thread ุณู…ู‘ูŠุชู‡ T1 ูˆุงุฏู‘ูŠุชู‡ time
336
00:26:52,580 --> 00:27:00,480
waiting ุชุจุนุชู‡ 102 ุซู… ุฑุญุช ุนู„ู‰ T1 ู‚ู„ุช ู„ู‡ set name T1
337
00:27:01,720 --> 00:27:04,220
ุฎู„ู‘ูŠู†ุง ู…ู† ุงู„ู€priority ู‡ุงูŠ ู‡ุชุชูƒู„ู… ุนู„ูŠู‡ุง ูƒู…ุงู† ุดูˆูŠุฉ
338
00:27:04,220 --> 00:27:08,820
My thread took .. ุฃุฎุฏุช object ุชุงู†ูŠ ูˆุงุฏู‘ูŠุชู‡ ูƒู…ุงู†
339
00:27:08,820 --> 00:27:14,120
100 miliseconds ูˆ
340
00:27:14,120 --> 00:27:17,540
ุงุฏู‘ูŠุชู‡ ุงุณู… ุชุนุงู„ู‰ ู†ุดูˆู ู„ู…ุง ูƒูŠู ุงุณุชุฎุฏุงู… ุงู„ู€runnable
341
00:27:17,540 --> 00:27:24,370
ุจู†ูุนุด ุฃุฑูˆุญ ุฃุฎุฏ object .. ุฃุฎุฏ object ู…ู† ู…ูŠู†ุŸ ู…ู† ุงู„ู€
342
00:27:24,370 --> 00:27:27,210
my runnable ุงู„ู„ูŠ ู‡ูˆ ุนุงู…ู„ implementation ู„ู…ู†ุŸ ู„ู„ู€
343
00:27:27,210 --> 00:27:31,970
interface ูู‡ูˆ ู‡ุชุนุฑููŠ ุงู„ู€thread T3 ู…ู† ุงู„ู€super
344
00:27:31,970 --> 00:27:37,290
class ูˆุงุฏู‘ูŠุชู‡ ุงู„ู€constructor object ู…ู† ุงู„ู€class
345
00:27:37,290 --> 00:27:40,030
ุงู„ู„ูŠ ุนุงู…ู„ implementation ู„ู„ู€runnable ุชุจุนุชูŠ ุนุดุงู†
346
00:27:40,030 --> 00:27:43,310
ูŠูƒูˆู† ููŠู‡ ุฒูŠู‘ูƒ ุฏุงุฎู„ู‡ ุฅู…ูƒุงู†ูŠุฉ ุงู„ู€run ู„ุฃู† ุงู„ู€runnable
347
00:27:43,310 --> 00:27:51,810
ู‡ุฐุง ู„ูˆุญุฏู‡ ู„ูˆ ุงุญู†ุง ุฑุฌุนู†ุง ุงู„ูุฑู‚ super ุฏู‡ ุช run ุงู„ู€
348
00:27:51,810 --> 00:27:56,970
super ู…ูŠู†ุŸ ุงู„ู€thread ุจุณ ููŠ ุงู„ู€implementation ู…ุด
349
00:27:56,970 --> 00:28:01,250
ู…ูˆุฌูˆุฏุฉ ู„ู„ู€runnable ู…ุด ู…ูˆุฌูˆุฏุฉ ุทุจ ุนุดุงู† ุฃู†ุง ุฃุฎู„ูŠ ุฅู…ูƒุงู†ูŠุฉ
350
00:28:01,250 --> 00:28:05,510
ุฃู†ู‡ ูŠุชู†ูุฐ ู„ุงุฒู… ุฃุฎุฏ ุงู„ู€runnable ู‡ุฐุง ูˆุงุฏู‘ูŠู‡ ู„ู…ูŠู†ุŸ ู„ู€thread
351
00:28:05,510 --> 00:28:12,430
ู„ุงุฒู… ุงุฏูŠู„ู‡ ุฃูˆ ุฃุฏูŠู‡ ู„ู€thread ุทูŠุจ
352
00:28:12,430 --> 00:28:20,090
ู…ุด ุงู„ู„ูŠ ุตุงุฑ ู‡ู†ุง ุทูŠุจ ุชู…ุงู… ูŠุนู†ูŠ ุฃู†ุง ูุนู„ูŠู‹ุง ูƒู… object
353
00:28:20,090 --> 00:28:28,790
ุฃูˆ ูƒู… thread ุตุงุฑ ุนู†ุฏูŠุŸ T1 T2 ุชู„ุงุชุฉ ู‡ุฐุง ุงู„ู€code ู…ู†
354
00:28:28,790 --> 00:28:37,690
ู‡ู†ุง ู„ู‡ูƒ ุฃูˆ ู„ุง ุจู„ุงุด ู‡ูŠูƒ sequential code ุงู„ู„ูŠ ู‡ูˆ ู…ุซู„
355
00:28:37,690 --> 00:28:46,770
ุงู„ุฑู‚ู… ูˆุงุญุฏ ู‡ู†ุง ุทูŠุจ ุงู„ุขู† ุชุนุงู„ู‰ ู†ุดูˆู T1.start ุงู„ู€
356
00:28:46,770 --> 00:28:50,620
method start ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ู€run ุฃูˆ ููŠ ุงู„ู€.. ู…ุน
357
00:28:50,620 --> 00:28:54,880
ุงู„ู€thread ู‚ูˆู„ ู„ูŠ ุฅูŠุด ุจุชุณุงูˆูŠุŸ ุจุชุณุชุฏุนูŠ ุงู„ู€run method
358
00:28:54,880 --> 00:29:00,880
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ู€class ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุฃูˆ ู…ุฑุชุจุท ุจุงู„ู€
359
00:29:00,880 --> 00:29:08,160
thread ุชู…ุงู… ูู‡ุฐู‡ ู‡ุชุฑูˆุญ ุชุณุชุฏุนูŠ ุงู„ู€run ุชุจุน ุงู„ู€T1
360
00:29:08,160 --> 00:29:15,680
ูˆู…ุฌุฑู‘ุฏ ุชุนู…ู„ ู„ู‡ุง calling ู‡ุชู†ุชู‚ู„ ู…ุจุงุดุฑุฉ ู„ู„ู€next step
361
00:29:15,680 --> 00:29:21,830
ู…ุด ู‡ุชุณุชู†ู‰ ู…ุด ู‡ุชุณุชู†ู‰ ู‡ุชู†ุชู‚ู„ ู„ู…ูŠู†ุŸ ูˆุจุงู„ุชุงู„ูŠ ุนู…ู„ูŠุฉ ุงู„ู€
362
00:29:21,830 --> 00:29:29,190
Branching ุจุฏุฃุช ุชุชูุฑู‘ู‚ ุงู„ุขู† ุงู„ูุฑู‚ ุงู„ุฒู…ู†ูŠ ุจูŠู† T1
363
00:29:29,190 --> 00:29:34,990
.start ูˆT2.start ูƒู…ุŸ ุชู‚ุฑูŠุจู‹ุง ู†ุงู†ูˆ ุซุงู†ูŠุฉ ู†ุงู†ูˆ ุซุงู†ูŠุฉ
364
00:29:34,990 --> 00:29:39,910
ู„ุฃู† ู‡ุฐู‡ single task ู„ู„ู€CPU ูˆุจุงู„ุชุงู„ูŠ ุงู„ูุฑู‚ ู…ุง ุจูŠู†
365
00:29:39,910 --> 00:29:45,170
ุงู„ู€task ูˆุงู„ุชุงู†ูŠุฉ ู†ุงู†ูˆ ุซุงู†ูŠุฉ ูˆุจุงู„ุชุงู„ูŠ ู‡ู†ุง ูŠูƒุงุฏ ูŠูƒูˆู†
366
00:29:45,170 --> 00:29:49,470
Zero ุซุงู†ูŠุฉ ุงู„ูุฑู‚ ู…ุง ุจูŠู† ู‡ุฐู‡ ูˆู‡ุฐู‡ ูˆุจุงู„ุชุงู„ูŠ ุดุบู„
367
00:29:49,470 --> 00:29:53,150
ุงู„ุฃูˆู„ู‰ ูˆุงู„ุชุงู†ูŠุฉ ูˆุงู„ุชุงู„ุชุฉ ูˆุงู„ู€applications ุงู„ู€
368
00:29:53,150 --> 00:29:59,290
different threads ุงู„ุชู„ุงุชุฉ ุงู„ู„ูŠ ุนู†ุฏูŠ ู‡ุฐุง
369
00:29:59,290 --> 00:30:03,730
ุจูŠุนู…ู„ wait ูƒู„ ุฌู…ู„ุฉ ุทุจุงุนุฉ ุจูŠุนู…ู„ sleep ุฃูˆ ุจูŠุนู…ู„ wait
370
00:30:03,730 --> 00:30:08,530
ุจู…ู‚ุฏุงุฑ ุนุดุฑ ุซุงู†ูŠุฉ ุจูŠู†ู…ุง ุงู„ู€runnable ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€test
371
00:30:08,530 --> 00:30:13,440
ุงู„ุชู„ุงุชุฉ ุจูŠุนู…ู„ wait ุจู…ู‚ุฏุงุฑ ุฌุฏู‘ ุนุดุฑูŠู† ุซุงู†ูŠุฉ ูˆุจุงู„ุชุงู„ูŠ
372
00:30:13,440 --> 00:30:15,960
ู„ู…ุง ุชุดูˆู ุงู„ู€execution ุชุจุน ุงู„ู€code ู‡ุฐุง ู‡ุชุดูˆู
373
00:30:15,960 --> 00:30:19,860
different output ู…ุฑุฉ ุจูƒุชุจ ู„ูƒ thread ูˆุงุญุฏ ุฃูˆ thread
374
00:30:19,860 --> 00:30:25,280
ุงุชู†ูŠู† ุฃูˆ runnable ุฅู„ู‰ ุขุฎุฑู‡ ุงู„ุขู† ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ุฃู‚ูˆู„ู‡
375
00:30:25,280 --> 00:30:32,600
ู‡ู†ุง ู‡ุฐู‡ ุงู„ุฌุฒุฆูŠุฉ ู„ูˆ ูƒุงู† ููŠ ูˆุฑุงู‡ุง ูƒู…ุงู† code ู‡ูŠูƒู…ู„ ู…ุด
376
00:30:32,600 --> 00:30:36,640
ู‡ูŠุนู…ู„ wait ู„ุฃูŠ ุดูŠุก ูˆู‡ูŠ miss ุงู„ู€thread ู„ุญุธูŠ ู…ุน ูƒู„
377
00:30:36,640 --> 00:30:40,720
thread ุงู„ุขู† ุงู„ู€system ู‡ุฐุง ููŠ two ุฃูˆ three branches
378
00:30:40,720 --> 00:30:49,960
ุชู„ุช ุชูุฑุนุงุช ูˆูƒู„ู‡ุง ุจุฏุฃุช ุชุดุชุบู„ ุจุดูƒู„ ู…ุชุฒุงู…ู† ุญุณุจ
379
00:30:49,960 --> 00:30:53,640
ุงู„ู€code ู‡ุฐุง ุขู‡ ุจุทุจุน ูˆุจุฑูˆุญ ุจุนู…ู„ sleep ุจุทุจุน ูˆุจุฑูˆุญ
380
00:30:53,640 --> 00:30:57,420
sleep ุขู‡ ุฃู†ุช ุจุชุญุฏุฏูŠ ููŠ ูˆูŠู† ู…ุง ุจุฏูƒ ุฃู†ุง ู„ูŠุด ุจุนู…ู„
381
00:30:57,420 --> 00:31:01,560
sleep ู‡ู†ุง ู„ุฃู†ู‡ ููŠ ู„ุญุธุฉ ู…ู† ุงู„ู„ุญุธุงุช ู…ุด ู‡ุดูˆู ุงู„ูุฑู‚
382
00:31:01,560 --> 00:31:05,750
ุงู„ุฒู…ู†ูŠ ู…ุง ุจูŠู† ูƒู„ ุฌู…ู„ุฉ ุงู„ุทุจุงุนุฉ ูˆุงู„ุชุงู†ูŠุฉ ูุฃู†ุง ู„ู…ุง ุฃู†ุง
383
00:31:05,750 --> 00:31:09,830
ุจุนู…ู„ sleep ุจู‚ูˆู„ ู„ู‡ ู„ุฃ ุงุณุชู†ู‰ ุดูˆูŠุฉ ู…ุง ุชุทุจุนุด ู„ูŠุดุŸ ุนุดุงู†
384
00:31:09,830 --> 00:31:14,390
ุฃูˆุฏูŠูƒูŠ.. ุฃูˆุฏูŠูƒูŠ ุงู„ุทุจุงุนุฉ ุฃู†ู‡ ู„ุฃ ุฃู†ุง ู…ู…ูƒู† ุฃุชุญูƒู…..
385
00:31:14,390 --> 00:31:18,350
ูุงู„ู€sleep ู‡ุฐุง ุฅูŠุด ู‡ูŠุŸ ู‡ูŠ ุนุจุงุฑุฉ ุนู† time waiting
386
00:31:18,350 --> 00:31:22,270
state time waiting ูŠุนู†ูŠ ุฃู†ุง ู‡ูˆ ู‡ู†ุง ุจุนู…ู„ run ููŠ
387
00:31:22,270 --> 00:31:26,590
ุงู„ู…ุฑุญู„ุฉ ู‡ุฐู‡ ุฑูˆุญุชูŠ ุนู…ู„ุช ู„ู‡ time waiting ุฏุฎู„ุชู‡ ููŠ
388
00:31:26,590 --> 00:31:30,770
ุงู„ุณุชูŠุทู† ุงุณู…ู‡ ุงู„ู€Time Waiting ู„ู…ุง ุฎู„ุต ุงู„ู€loop ุฑุงุญ
389
00:31:30,770 --> 00:31:37,810
ุนู„ู‰ terminated ุงู†ุชู‡ู‰ ุฃู…ุฑู‡ ู‡ู„ ุฃุฌูŠุช ุจุชุชูƒู„ู… ููŠู‡ุงุŸ
390
00:31:37,810 --> 00:31:42,530
ุงู„ุขู† ุงู„ู„ูŠ ุงุญู†ุง ุญูƒูŠู†ุง ุนู„ูŠู‡ ุฅู† ุงู„ู€Java virtual
391
00:31:42,530 --> 00:31:46,650
machine ู‡ุชุนู…ู„ ุชุจุนุช ู„ู„ู€operating system ุญุณุจ ุงู„ู€
392
00:31:46,650 --> 00:31:52,350
application ุงู„ู„ูŠ ุนู†ุฏู†ุง ู‡ู†ุง ุฅู† ุฃู†ุง ููŠู‡ ุนู†ุฏูŠ three
393
00:31:52,350 --> 00:31:56,730
ุฌุฏู‘ูŠุด three different tasks ุฌุฏูŠุฏุฉ ูˆู‡ูŠุฑูˆุญ ุงู„ู€
394
00:31:56,730 --> 00:32:01,070
dispatcher ูŠู‚ูˆู„ ู„ู€scheduler ู†ุธู‘ู… ูƒู…ุงู† ุงู„ูˆุฌู‡ุฉ
395
00:32:01,070 --> 00:32:07,470
ู„ู„ู€ุชู„ุช task ู‡ุฏูˆู„ ูˆู‡ูŠุจุฏุฃ ุงู„ู€execution ุงู„ุขู† ุงู„ู€
396
00:32:07,470 --> 00:32:12,230
execution ุงู„ู…ุนุงู„ุฌ ูŠุฎู„ุต ู…ูŠู†ุŸ ุฌุงุจ ู„ู…ูŠู†ุŸ ู…ุง ููŠุด ุถุงู…ู† ู„ุฃู†
397
00:32:12,230 --> 00:32:15,670
ู‡ุฐุง ุดุบู„ ู„ู…ูŠู†ุŸ ู„ู„ู€CP ูˆู„ูˆุญุฏู‡ ู„ู„ู€operating system
398
00:32:15,670 --> 00:32:21,550
ู„ูƒู† ุงู„ุฌุงุจุฉ ู‚ุงู„ูˆุง ุงุญู†ุง ู…ู…ูƒู† ู†ุชุญูƒู… ููŠ ุงู„ู…ูˆุถูˆุน ุจุญูŠุซ
399
00:32:21,550 --> 00:32:28,440
ุฃู†ู‡ ู†ุชูƒู„ู… ุนู„ู‰ ุงู„ุฃูˆู„ูˆูŠุงุช ุงู„ู€Priority ู…ุน ุงู„ู€threads
400
00:32:28,440 --> 00:32:35,140
ู…ู† ูˆุงุญุฏ ู„ุนุดุฑุฉ ุงู„ู€minimum priority ูˆุงุญุฏ ูˆุงู„ู€
401
00:32:35,140 --> 00:32:38,800
maximum priority ุนุดุฑุฉ ุฃูˆ ู…ู…ูƒู† ุฃูƒูˆู† ุนูƒุณุชู‡ุง
402
00:32:38,800 --> 00:32:42,920
ุจุงู„ู…ู†ุงุณุจุฉ ู„ุฃ ู…ุตุจูˆุท ุนุดุฑุฉ ุงู„ููƒุฑุฉ ูˆูŠู†ุŸ ุฅู† with
403
00:32:42,920 --> 00:32:47,800
maximum priority ุฃู†ู‡ ุฃุฏูŠ ุงู„ุฃูˆู„ูˆูŠุฉ ู„ู„ู€task ู‡ุฐุง ูˆู‡ุฐุง
404
00:32:47,800 --> 00:32:51,580
ู…ูู‡ูˆู…ู‡ุง ุฃู†ู‡ ุฃู†ุง ุจุถุญูŠ ุจุงู„ู€run ุชุจุน ุงู„ู€threads
405
00:32:51,580 --> 00:32:57,030
ุงู„ุชุงู†ูŠุฉ ุจุญูŠุซ ุฅู†ู‡ ู‡ุฐุง ูŠุดุชุบู„ ูŠุนู†ูŠ ู„ูˆ ู‡ุฐุง ุทู„ุจ resource
406
00:32:57,030 --> 00:33:02,070
ุชุนู…ู„ู‡.. ูŠุนู†ูŠ ุญุฑู‘ุฑ ุงู„ู€resource ูˆุงุฏู‘ูŠู‡ ุฃูˆู„ูˆูŠุฉ ุฅู† ู‡ูˆ
407
00:33:02,070 --> 00:33:06,890
ูŠุดุชุบู„ ุชู…ุงู…ู‹ุง ุชู…ุงู…ู‹ุง ุฒูŠ ู…ุง ุชูƒูˆู† ูˆุงู‚ู ู…ุซู„ู‹ุง ููŠ ุทุงุจูˆุฑ ูˆ
408
00:33:06,890 --> 00:33:11,870
ูŠุฏู‘ูŠ ุดุฎุต ุตุงุญุจ ุฃู‡ู…ูŠุฉ ูˆุจูŠุนุฑู ุงู„ู…ูˆุธู ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุจุจุงุดุฑ
409
00:33:11,870 --> 00:33:14,810
ุจูŠู‚ูˆู„ ู„ู‡ ุชุนุงู„ ุนู†ุฏูŠ ู‡ู†ุง ูŠุฏู‘ูŠู‡ ุฃูˆู„ูˆูŠุฉ ุนุดุงู† ูŠุนู…ู„
410
00:33:14,810 --> 00:33:19,490
execution ุจุณ ุนุดุงู† ุฃูƒูˆู† ุตุฑูŠุญ ูˆู…ู†ุตู ูƒู…ุงู† ุญุชู‰ ู‡ุงูŠ ู…ุง
411
00:33:19,490 --> 00:33:24,130
ุจุชุถู…ู† ุงู„ู€execution 100% ุจุงู„ุฌุงู…ุนุฉ ูŠุนู†ูŠ ุฃู†ุง ุดุบุงู„..
412
00:33:24,130 --> 00:33:27,590
ุญุชู‰ ู„ูˆ ุฑุฌุนุช ู„ู„ู€document ุงู„ุฎุงุต ุจุงู„ู€thread ูˆุงู„ู€
413
00:33:27,590 --> 00:33:32,350
priority ุนู„ู‰ ู…ูˆู‚ุน ุงู„ู€Oracle ู‡ุชู„ุงู‚ูŠ ุงู„ูƒุชุจ ู„ูƒ ุฅู†ู‡ ุนู„ู‰
414
00:33:32,350 --> 00:33:35,390
ุงู„ุฑุบู… ุฅู†ู‡ ู‡ุฐู‡ ู…ุนู…ูˆู„ุฉ ุนุดุงู† ุชุนู…ู„ ู‡ูŠูƒ ุฅู†ู‡ ู…ุง ููŠุด
415
00:33:35,390 --> 00:33:39,550
guarantee ุฅู†ู‘ู‡ุง ุชุชู†ูุฐ ุนุดุงู† ู‡ูŠูƒ ุฃู†ุง ุจู‚ูˆู„ ู…ุง ููŠุด
416
00:33:39,550 --> 00:33:44,150
guarantee ู…ูŠู† ูŠุฎู„ุต ู‚ุจู„ ุงู„ุซุงู†ูŠ ู…ุง ููŠุด guarantee ู…ูŠู†
417
00:33:44,150 --> 00:33:47,550
ูŠุฎู„ุต ู‚ุจู„ ุงู„ุซุงู†ูŠ ุทุจ ุฃู†ุง ุฅูŠุด ู…ู…ูƒู† ุงุณุชููŠุฏ ู…ู† ุงู„ู€run
418
00:33:47,550 --> 00:33:51,610
ู‡ุฐู‡ ุฃูˆ ู…ู†.. ู„ูˆ ุชุญู‚ู‚ุช ุงู„ู€priority ู…ุนู†ุงุชู‡ ุฃู†ุง ุจุตูŠุฑ
419
00:33:51,610 --> 00:33:56,960
ุฃู‚ุฏุฑ ุฃุฑุชู‘ุจ task ุชุจุนุชูŠ ู…ูŠู† ูŠุดุชุบู„ ู‚ุจู„ ุงู„ุซุงู†ูŠ ูˆุจุถู…ู†
420
00:33:56,960 --> 00:34:01,260
ุฏูŠ ุจู†ุฏู†ุณ ูŠุณูŠุจูŠูƒูŠ ู…ู† ุงู„ุฌูˆุงู„ ูˆูŠุฎู„ูŠูƒูŠ ู…ุนุงูŠุง ุทูŠุจุŒ
421
00:34:01,260 --> 00:34:04,420
ุงู„ุขู† ุจุฏุฃู†ุง ููŠ execution ู„ู„ู€ thread ูˆ ุงู„ู€ three
422
00:34:04,420 --> 00:34:08,340
threads ุจูŠุดุชุบู„ูˆุง ู…ุน ุจุนุถ ุชุฎูŠู„ูŠ ุฃู†ู‡ ู„ูˆ ุงู„ู€ ุซู„ุงุซุฉ
423
00:34:08,340 --> 00:34:13,140
threads ู‡ุฏูˆู„ ุจุฏู‡ู… ูŠู‚ุฑุคูˆุง ู†ูุณ ุงู„ู…ู„ู ุฃูˆ ุจุฏู‡ู… ูŠูƒุชุจูˆุง
424
00:34:13,140 --> 00:34:17,340
ุนู„ู‰ ู†ูุณ ุงู„ู…ู„ูุŒ ุฅูŠุด ุงู„ู…ูุฑูˆุถ ุงู„ู„ูŠ ูŠุตูŠุฑุŸ ุซู„ุงุซุฉ ูŠูƒุชุจูˆุง
425
00:34:17,340 --> 00:34:23,910
ุนู„ู‰ ู†ูุณ ุงู„ู…ู„ู ููŠ ู†ูุณ ุงู„ูˆู‚ุชุŒ ู…ุนู†ุงุชู‡ ู…ุดูƒู„ุฉ ุนุดุงู† ุฃู†ุง
426
00:34:23,910 --> 00:34:27,830
ุจุตูŠุฑ ุฃู†ุง ู„ุงุฒู… ุฃุนู…ู„ block ู„ู„ู€ resource ู…ู† ุงู„ู„ูŠ ุจุฏู‡
427
00:34:27,830 --> 00:34:31,950
ูŠุนู…ู„ ุงู„ู€ block ุฃู†ุช ูƒู€ programmer ุฃู†ุช ูƒู€ programmer
428
00:34:31,950 --> 00:34:36,210
ู„ุงุฒู… ุชุญุฏุฏูŠ ู…ุชู‰ ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ ุงู„ู€ block ูˆุฅูŠุด ู‡ูˆ ุงู„ู€
429
00:34:36,210 --> 00:34:38,090
resource ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ ุนู„ูŠู‡ ุงู„ู€ block ุงุนู…ู„ูŠ
430
00:34:38,090 --> 00:34:42,390
ุตุงู…ุช ูŠุง ุฃุณุชุงุฐ ุทูŠุจ
431
00:34:42,390 --> 00:34:46,810
ุงู„ุขู† ุงู„ู…ู„ู ู‡ุฐุง ุงู„ู„ูŠ ุจุฏู‡ ูŠุนู…ู„ู‡ block ุนุดุงู† ุฃุทุจู‚ ุงู„ู€
432
00:34:46,810 --> 00:34:50,830
block ุฃุซู†ุงุก ุงู„ู€ run ู„ู„ู€ thread ููŠ ุนู†ุฏูŠ ู…ุตุทู„ุญ ุงุณู…ู‡ ุงู„ู€
433
00:34:50,830 --> 00:34:56,130
synchronization ูˆู‡ุฏูู‡ ุงู„ุฃุณุงุณูŠ ุฃู†ู‡ ุฃู…ู†ุน ุงู„ู€ thread
434
00:34:56,130 --> 00:35:01,370
interference ู…ุง ูŠุตูŠุฑุด ููŠู‡ ุชุฏุงุฎู„ ุฃูˆ ุชุดูˆูŠุด ููŠ ุนู…ู„ ุงู„ู€
435
00:35:01,370 --> 00:35:06,630
threads ุนู„ู‰ ุจุนุถู‡ู… ุฃูˆ ุฃุญู„ ู…ุดูƒู„ุฉ ุงู„ู€ consistencyุŒ
436
00:35:06,630 --> 00:35:10,130
ู…ุตุจูˆุทุŸ ุงุญู†ุง ู„ู…ุง ุงุชูƒู„ู…ู†ุง ุนู„ู‰ ุงู„ู€ databaseุŒ ู‚ู„ู†ุง ููŠ
437
00:35:10,130 --> 00:35:12,730
ุงู„ู€ database ู…ู‡ู… ุฌุฏุง ุนู…ู„ูŠุฉ ุงู„ู€ lock ุนู„ู‰ ุงู„ู€ resource
438
00:35:12,730 --> 00:35:15,410
ุนุดุงู† ูŠุญุงูุธ ุนู„ู‰ ุงู„ู€ data consistency ูˆุถุฑุจู†ุง ุงู„ู…ุซุงู„
439
00:35:15,410 --> 00:35:19,430
ุชุจุน ุงู„ู€ bankุŒ ู…ุตุจูˆุทุŸ ูˆู‡ุง ู†ูุณ ุงู„ูƒู„ุงู… ุจุงู„ุชุงู„ูŠ ุงู„ู€
440
00:35:19,430 --> 00:35:22,330
resource ู…ูˆุฌูˆุฏ ุนุดุงู† ุฃู†ุง ุงุญุงูุธ ุนู„ู‰ ุงู„ู€ consistency
441
00:35:22,330 --> 00:35:27,050
ูˆู…ุง ูŠุตูŠุฑุด ููŠู‡ ุนู†ุฏูŠ ู…ุดูƒู„ุฉ ููŠ ุงู„ุจูŠุงู†ุงุช ู„ุงุฒู… ุฃุนู…ู„ look
442
00:35:27,050 --> 00:35:32,870
ุงู„ู€ look ุจุชู… ู…ู† ุฎู„ุงู„ ู…ุตุทู„ุญ ุงุณู…ู‡ synchronized ุนู„ู‰ ุงู„ู€
443
00:35:32,870 --> 00:35:36,450
shared resource ุฅูŠุด ุงู„ู€ shared resource ู…ู…ูƒู† ูŠูƒูˆู†
444
00:35:36,450 --> 00:35:40,690
ุงู„ู€ array ูˆุฎู„ูŠู†ุง ู†ุฑุฌุน ููŠูƒูŠ ุฎุทูˆุทูŠู† ู„ู„ุฎู„ู ุนู„ู‰ ุงู„ู€
445
00:35:40,690 --> 00:35:44,930
collections ู„ู…ุง ู‚ู„ู†ุง ุฅูŠุด ุงู„ูุฑู‚ ุจูŠู† ุงู„ู€ array list ูˆ
446
00:35:44,930 --> 00:35:50,870
ุงู„ู€ vector ูŠุนู†ูŠ ุงู„ู€ vector ู‡ูˆ ุนุจุงุฑุฉ ุนู† object
447
00:35:50,870 --> 00:35:55,250
synchronized ุฅูŠุด ูŠุนู†ูŠ ุจู‚ุฏุฑ ุฃุนู…ู„ ุนู„ูŠู‡ lock ู„ู…ุง ุญุฏ
448
00:35:55,250 --> 00:35:58,750
ูŠุนู…ู„ู‡ access ูˆู‚ู„ุช ู„ูƒ ููŠ ูŠูˆู…ู‡ุง ู„ู…ุง ู†ุตู„ ู„ู…ูˆุถูˆุน ุงู„ู€
449
00:35:58,750 --> 00:36:03,330
thread ู†ุชูƒู„ู… ุนู„ูŠู‡ุง ู…ุฑุฉ ุซุงู†ูŠุฉ ูŠุนู†ูŠ ู…ู…ูƒู† ูŠูƒูˆู† ููŠ
450
00:36:03,330 --> 00:36:06,990
ุนู†ุฏูŠ vector ุฃูˆ array ุจูŠู† ุฌุซูŠู… ู…ู…ูƒู† ูŠูƒูˆู† ุนู†ุฏูŠ data
451
00:36:06,990 --> 00:36:11,960
file ู…ุตุจูˆุทุŸ ู…ู…ูƒู† ูŠูƒูˆู† ุนู†ุฏูŠ string ู…ุนูŠู† ุฃู†ุง ุจุฏูŠู‡ ุฃูˆ
452
00:36:11,960 --> 00:36:15,960
object ู…ุนูŠู† ุฃู†ุง ุจุฏูŠุด ุฃุนุฏู„ ุนู„ู‰ ุงู„ู€ content ุณุจุนุฉ ู„ุญุฏ
453
00:36:15,960 --> 00:36:18,900
ู…ุง ุฃู†ุง ุฃุฎู„ุต ุจุนุฏู‡ู… ู‡ูŠูƒ ุจุนุฏ ู‡ูŠูƒ ูŠุบูŠุฑูˆุง ุงู„ู„ูŠ ุจุฏู‡ู… ู‡ูŠูƒ
454
00:36:18,900 --> 00:36:23,440
ุนุดุงู† ุฃุญู‚ู‚ ุงู„ู€ synchronization ู…ู…ูƒู† ุฃุดุบู„ู‡ุง ุนู„ู‰ ุชู„ุช
455
00:36:23,440 --> 00:36:29,040
ู…ุณุชูˆูŠุงุช ู…ุฎุชู„ูุฉ ุฃู‡ู…ู‡ู… ุงู„ุฃูˆู„ู‰ ูˆุงู„ุซุงู†ูŠุฉ ููŠ ุนู†ุฏูŠ
456
00:36:29,040 --> 00:36:34,270
synchronized method ูˆููŠ ุนู†ุฏูŠ synchronized block
457
00:36:34,270 --> 00:36:38,530
Synchronized method Synchronized block ูŠุนู†ูŠ ุฃู†ุง
458
00:36:38,530 --> 00:36:43,530
ุงู„ุขู† ุงู„ู…ูุฑูˆุถ ุฃุฌูŠ ู‡ูŠูƒ ููŠ ุฏุงุฎู„ ุงู„ู€ run ุชุจุนุชูŠ ููŠ ุฏุงุฎู„
459
00:36:43,530 --> 00:36:50,090
ุงู„ู€ run ุฃูˆ ููŠ ุฏุงุฎู„ ุงู„ู€ code ู‡ุฐุง ุนู„ู‰ ุณุจูŠู„ ุงู„ู…ุซุงู„ ุจุฏูŠ
460
00:36:50,090 --> 00:36:56,130
ุฃุณุชุฏุนูŠ ุฏู‡ method ุงุณู…ู‡ุง get data ูˆู…ุฒูˆุฏู‡ุง
461
00:36:56,130 --> 00:36:56,870
ุจู€ file object
462
00:37:01,090 --> 00:37:03,590
ุจุฏูŠ ุฃู‚ุฑุฃ ุงู„ู€ data ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ู…ู„ู ุฃูˆ ุจุฏูŠ ุฃูƒุชุจ
463
00:37:03,590 --> 00:37:09,290
ุนู„ูŠู‡ุง ุฎู„ู‘ูŠูƒูŠ ุฃู‡ู… ุงู„ุขู† ุงู„ู€ synchronized method
464
00:37:09,290 --> 00:37:13,750
ุจู…ุฌุฑุฏ ุฃู†ูŠ ุฃุนู…ู„ call ู„ู„ู…ูŠุซูˆุฏ ุงู„ู„ูŠ ุงุณู…ู‡ุง get data
465
00:37:13,750 --> 00:37:20,390
ุชุนู…ู„ block ู„ู„ู€ code ุชุจุนู‡ุง ุทูŠุจ ู…ุง ู‡ูˆ .. ุงู†ุชุจู‡ ุดูˆูŠุฉ
466
00:37:20,390 --> 00:37:24,870
ุงุญู†ุง ุนุงู…ู„ูŠู† ุญุทูŠู†ุง ุงู„ู€ call ุชุจุนุชู‡ุง ู‡ู†ุง ูŠุนู†ูŠ ูƒู„
467
00:37:24,870 --> 00:37:30,850
threads ุฃูˆ ูƒู„ thread ู‡ุชู‚ุฑุฃู‡ุง ู…ู…ุชุงุฒุฉ ุฃูˆู„ ูˆุงุญุฏ ุจุฏุฃ
468
00:37:30,850 --> 00:37:34,290
ููŠู‡ุง execution ู‡ูŠูˆู‚ู ุงู„ุจุงู‚ูŠ ูŠู‚ูˆู„ ู„ู‡ู… ูˆุงู‚ูุฉ ู„ุงุญุฏุด
469
00:37:34,290 --> 00:37:37,530
ูŠุณุชุฎุฏู… ุงู„ู€ function ู‡ุฐู‡ ุฃูˆ ุจูŠู† ุฌุซูŠู† ุงู„ู€ resources
470
00:37:37,530 --> 00:37:40,590
ุงู„ู„ูŠ ุจุชุนุชู…ุฏ ุนู„ูŠู‡ุง ุงู„ู€ function ู‡ุฐู‡ ู„ุญุฏ ู…ุง ุฃู†ุง ุฃุฎู„ุต
471
00:37:40,590 --> 00:37:44,290
ู„ุญุฏ ู…ุง ุฃุฎู„ุต ู…ูŠู†ุŸ ู„ุญุฏ ุฃุฎู„ุต execution ู…ู† ุงู„ู€ function
472
00:37:44,290 --> 00:37:49,610
ู…ู† ุจุฏุงูŠุชู‡ุง ู„ู†ู‡ุงูŠุชู‡ุง ูˆุจุงู„ุชุงู„ูŠ ุงู„ู€ synchronized method
473
00:37:49,610 --> 00:37:56,250
ุจู…ุฌุฑุฏ ุฅู† ุนู…ู„ู‡ุง invocation ู…ู† ุฃูˆู„ ุณุทุฑ ู„ุญุฏ ุงู„ู€ N
474
00:37:56,250 --> 00:38:00,780
ุชุจุนุชู‡ุง ุจุชุญุท ุงู„ู€ block ุจุชุญุท ุงู„ู€ resource ุจุชุญุท ุงู„ู€
475
00:38:00,780 --> 00:38:08,640
threads ุงู„ุชุงู†ูŠุฉ ููŠ ูˆุถุน blocked ุทูŠุจ ุทุจ ุฃู†ุง ูุนู„ูŠุง
476
00:38:08,640 --> 00:38:14,720
ู…ู…ูƒู† ุฃู†ุง ู…ุญุชุงุฌ ุงู„ู…ูƒุงู† ุงู„ู„ูŠ ุฃู†ุง ุจุฏู‡ ุฃูƒุชุจ ููŠู‡ ู‡ู…
477
00:38:14,720 --> 00:38:18,840
ุณุทุฑูŠู† ููŠ ุฏุงุฎู„ ุงู„ู€ method ูˆุฃู†ุง ุจุฏู‡ ุฃุนู…ู„ block ุญูŠู† ู…ุง
478
00:38:18,840 --> 00:38:23,260
ุจุฏู‡ ุฃูƒุชุจู„ูŠุด ุฃุนู…ู„ block ุนู„ู‰ ูƒู„ ุงู„ู…ู„ู ุทุงู„ู…ุง ููŠ ู†ุงุณ
479
00:38:23,260 --> 00:38:25,960
ุจุชู‚ุฑุฃ ุฃูˆ ู…ุง ุดุงุจู‡ุŸ ู„ูŠุด ู…ุง ุฃุนู…ู„ block ุจุณ ุนู„ู‰ ุงู„ุฌุฒุฆูŠุฉ
480
00:38:25,960 --> 00:38:30,100
ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ุฅูŠุงู‡ุงุŸ ูˆุจู‡ูŠูƒ ุจู†ุชู‚ู„ ู„ู„ุฌุฒุฆูŠุฉ ุงู„ุซุงู†ูŠุฉ ุฃูˆ
481
00:38:30,100 --> 00:38:34,700
ู„ู„ู†ูˆุน ุงู„ุซุงู†ูŠ Synchronized Block ูŠุนู†ูŠ ุฃู†ุง ุงู„ุขู† ุจุฏู„
482
00:38:34,700 --> 00:38:38,920
ู…ุง ุฃุนู…ู„ ุฅุบู„ุงู‚ ุจู…ุฌุฑุฏ ุฃุนู…ู„ calling ู„ู„ู€ method ู…ู†
483
00:38:38,920 --> 00:38:42,940
ุจุฏุงูŠุชู‡ุง ุฅู„ู‰ ู†ู‡ุงูŠุชู‡ุง ู„ุฃ ุจุฏูŠ ุฃุฑูˆุญ ุนู„ู‰ specific lines
484
00:38:42,940 --> 00:38:46,780
of code ูˆ ุฃู‚ูˆู„ ู‡ุฏูˆู„ ู‡ู… ุงู„ู„ูŠ ุจุฏูŠ ุฃุนู…ู„ ู„ู‡ู… ุฅูŠุดุŸ ุงู„ู€
485
00:38:46,780 --> 00:38:51,920
blocking ุนุจุฑ ุงู„ู…ุซุงู„ ุงู„ุชุงู„ูŠ ู†ูุณ ุงู„ู€ function ู†ูุณ ุงู„ู€
486
00:38:51,920 --> 00:38:56,040
function ุจุณ ู„ุงุญุธุช ุงู„ู€ synchronize ูˆูŠู† ู†ุฌู„ุชู‡ุงุŸ ููŠ
487
00:38:56,040 --> 00:39:00,520
ุฏุงุฎู„ ุงู„ู€ method ู‡ูŠุง ูŠุนู†ูŠ ู„ูˆ ููŠ code ู‡ู†ุง
488
00:39:03,540 --> 00:39:07,940
ู‡ูŠูƒู…ู„ .. ู‡ูŠูƒู…ู„ ูˆุจู…ุฌุฑุฏ ูŠุตู„ ู„ู„ู€ end ู‡ุฐู‡ ู‡ูŠุนู…ู„
489
00:39:07,940 --> 00:39:11,720
release ู„ู„ู€ resource ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ .. ู„ู„ู€ object
490
00:39:11,720 --> 00:39:15,700
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ ู‡ู†ุง ูˆู…ู† ุซู… ุงู„ู€ object ุงู„ุซุงู†ูŠุฉ ุฃูˆ
491
00:39:15,700 --> 00:39:19,300
ุนููˆุง ุงู„ู€ thread ุงู„ุซุงู†ูŠุฉ ุจุชู‚ุฏุฑ ุชุตู„ ู„ู„ู€ object ุงู„ู„ูŠ
492
00:39:19,300 --> 00:39:28,180
ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ ุจุดูƒู„ ูƒูˆูŠุณ ุทูŠุจ ู„ุฃู† ู…ูŠู† ุฃุญุณู† ุฅุฐุง ุฃู†ุง
493
00:39:28,180 --> 00:39:29,540
ุจุชูƒู„ู…
494
00:39:31,540 --> 00:39:34,640
ุงู„ู€ Synchronized method more restricted ูŠุนู†ูŠ
495
00:39:34,640 --> 00:39:38,980
ุจุชุญุงูุธ ุนู„ู‰ data consistency ุฃุนู„ู‰ ู…ุตุจูˆุท ู„ูƒู†
496
00:39:38,980 --> 00:39:43,460
Synchronized block fair ุฃูƒุซุฑ ููŠู‡ุง ุนุฏู„ ุฃูƒุซุฑ ู„ูŠุด ุฃู†ุง
497
00:39:43,460 --> 00:39:47,660
ู…ูˆู‚ู ูƒู„ ุงู„ุดุบู„ ุจูŠู†ู…ุง ุฃู†ุง ุจุฏูŠ ุณุทุฑ ุฃูˆ ุงุซู†ูŠู† ูุฃู†ุช ุงู„ู„ูŠ
498
00:39:47,660 --> 00:39:50,940
ุจุชู‚ุฏุฑ ุฃูˆ ุงู„ู€ system analyst ู‡ูˆ ุงู„ู„ูŠ ุจู‚ุฏุฑ ูˆูŠู† ุฃูˆ ู…ุชู‰
499
00:39:50,940 --> 00:39:54,140
ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ ุงู„ู€ block ูŠุนู†ูŠ ุฅุฐุง ูƒุงู† ูƒู…ุงู† ู…ุฑุฉ ุงู„ู€
500
00:39:54,140 --> 00:39:57,500
block ุนู„ู‰ ุณุทุฑ ุฌุฒุฆูŠุฉ ุงู„ูƒุชุงุจุฉ ู„ุฃ ูˆุงู„ู„ู‡ ุฃู†ุง ุจูุถู„ ุฃุฑูˆุญ
501
00:39:57,500 --> 00:40:04,070
ุจุงุชุฌุงู‡ ุงู„ู€ Synchronized ุงู„ู†ูˆุน ุงู„ุซุงู„ุซ ุงู„ุตุญูŠุญ ุฃู†ุง
502
00:40:04,070 --> 00:40:08,170
ู…ุง ุฌุชู†ูŠุด ู…ุซุงู„ ุฃู‚ุฏุฑ ุฃูˆุถุญู‡ ููŠู‡ ุจุดูƒู„ ูˆุงุถุญ ุงู„ู„ูŠ ู‡ูˆ ุจูŠุณู…ูŠ
503
00:40:08,170 --> 00:40:12,570
static synchronization ูˆู‡ุฐุง ุงู„ู…ูู‡ูˆู… static
504
00:40:12,570 --> 00:40:16,030
synchronization ุฃู† ุฃุฑูˆุญ ุนู„ู‰ ูˆุงุญุฏุฉ ู…ู† ุงู„ู€ method ููŠ
505
00:40:16,030 --> 00:40:21,260
ุงู„ู€ class ูˆ ุฃุนุฑูู‡ุง as synchronized ุจู…ุฌุฑุฏ ุฃู† ุฃุนุฑู ู‡ุฐู‡
506
00:40:21,260 --> 00:40:25,460
ุงู„ู€ method Synchronize ูˆูƒุฃู† ุจุตูŠุฑ ุจู‚ู‰ ุฃุนู…ู„ look ุนู„ู‰
507
00:40:25,460 --> 00:40:28,420
ุงู„ู€ class ูƒู„ู‡ ูˆูƒู„ ุงู„ู€ object ูŠุนู†ูŠ ูˆูŠู† ููŠ ุนู†ุฏูŠ
508
00:40:28,420 --> 00:40:32,360
object ุฃูˆ resources ู…ูˆุฌูˆุฏุฉ ู…ุน ุงู„ู€ class ู‡ุฐุง ุจุฏูŠ
509
00:40:32,360 --> 00:40:36,220
ุฃุนู…ู„ ุนู„ูŠู‡ุง look ู„ุญุฏ ู…ุง ุฃู†ุง ุฅูŠุด ุฃุฎู„ุต ูˆุงู„ุจุงู‚ูŠ
510
00:40:36,220 --> 00:40:42,000
ูŠุฏุฎู„ูˆุง ููŠ ู…ุฑุญู„ุฉ ุงู„ู€ waiting ุงู„ููƒุฑุฉ ููŠู‡ุง ุฅู† ู„ูˆ T1 ูˆ
511
00:40:42,000 --> 00:40:44,640
T2 ุจุชุดุงุฑูƒูˆุง object 1 ูˆู‡ุฏูˆู„ ุฌุงูŠูŠู† ู…ู† ู†ูุณ ุงู„ู€ class
512
00:40:44,640 --> 00:40:50,880
ุจุงู„ู…ู†ุงุณุจุฉ ู…ู† ู†ูุณ ุงู„ู€ class ูˆ thread 3 ูˆ thread 4
513
00:40:50,880 --> 00:40:55,080
ุจูŠุดุชุบู„ูˆุง ุนู„ู‰ object 2 ุจุงู„ู…ุจุฏุฃ ุงู„ุจุณูŠุท ู‡ู†ุง .. ู…ุง ููŠุด
514
00:40:55,080 --> 00:40:57,860
.. ู‡ู†ุง ููŠ synchronization ู…ุง ุจูŠู† ุงู„ุงุซู†ูŠู† ุฃูˆ ู…ุง ููŠุด
515
00:40:57,860 --> 00:41:00,840
interference ู„ูƒู† ู…ู…ูƒู† ูŠุตูŠุฑ ููŠ interference ุจูŠู†
516
00:41:00,840 --> 00:41:03,900
ูˆุงุญุฏ ูˆุซู„ุงุซุฉ ุฃูˆ ุฃุฑุจุนุฉ ุฃูˆ ุจูŠู† ุงุซู†ูŠู† ูˆุซู„ุงุซุฉ ุฃูˆ
517
00:41:03,900 --> 00:41:07,340
ุฃุฑุจุนุฉุŒ ู…ุตุจูˆุทุŸ ู„ุฃู† ุนุดุงู† ุฃุญู„ ู‡ูŠูƒ ุดุบู„ุฉ ุจุฏูŠ ุฃู„ุฌุฃ
518
00:41:07,340 --> 00:41:11,040
ู„ู…ูˆุถูˆุน ุงู„ู€ static synchronize ุจุฑูˆุญ ุนู„ู‰ ุงู„ู€ class ู‡ุฐุง
519
00:41:11,040 --> 00:41:15,780
ุจุดูˆู ูˆุงุญุฏุฉ ู…ู† ุงู„ู€ static method ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠู‡ ูˆ
520
00:41:15,780 --> 00:41:21,860
ุจุนุฑูู‡ุง asSynchronized Public Synchronized Static
521
00:41:21,860 --> 00:41:26,680
ุงู„ู€ return data ุชุจุนุชู‡ุง ูˆุงุณู…ู‡ุง ูุจุตูŠุฑ ุงู„ู€ class ูƒู„ู‡ุง
522
00:41:26,680 --> 00:41:31,480
ุชูƒูˆู† Synchronized ุจู…ุฌุฑุฏ ุฃู† ุงู„ู€ thread ูŠุนู…ู„ access
523
00:41:31,480 --> 00:41:37,620
ุนู„ู‰ ุฃูˆู„ object ูƒู„ ุงู„ู€ resources ุงู„ู…ุฑุชุจุทุฉ ุจุงู„ู€ class
524
00:41:37,620 --> 00:41:42,700
ุณูˆุงุก ูƒุงู†ุช ู…ุน ุงู„ู€ object ู‡ุฐุง ุฃูˆ ุบูŠุฑู‡ุง ุชุฏุฎู„ ููŠ ู…ุฑุญู„ุฉ
525
00:41:42,700 --> 00:41:46,660
block ูˆุงู„ู€ thread ุงุซู†ูŠู† ุฃูˆ ุซู„ุงุซุฉ ุฃูˆ ุฃุฑุจุนุฉ ุจุฏุฎู„ูˆุง
526
00:41:46,660 --> 00:41:51,520
ููŠ ู…ุฑุญู„ุฉ ุงู„ู€ waiting ู„ุญุฏ ู…ุง ูŠุฎู„ุต T1 ูŠุนู…ู„ release
527
00:41:51,520 --> 00:41:54,660
ุจูŠุตูŠุฑูˆุง ู‡ุฏูˆู„ ุจูŠุญุงูˆู„ูˆุง ูŠุตู„ูˆุง ู„ู„ู€ objects ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ
528
00:41:54,660 --> 00:42:02,840
ุนู†ุฏู‡ู… ู„ูƒู† ุฒูŠ ู…ุง ู‚ู„ุช ู„ูƒ ูุนู„ูŠุง ู…ุง ุฌุชู†ูŠุด ู…ุซุงู„ ูŠูˆุถุญ ุฃู‡ู…ูŠุฉ
529
00:42:02,840 --> 00:42:07,220
ุงู„ู€ static synchronization ูˆู…ุชู‰ ุฃูˆ ูˆูŠู† ุฃู‚ุฏุฑ
530
00:42:07,220 --> 00:42:11,000
ุฃู†ูุฐู‡ุง ุจุงุณุชุซู†ุงุก ุฃู†ู‡ ูˆุงู„ู„ู‡ ุฃู†ุง ุนุดุงู† ุฃุญู„ ู…ุดูƒู„ุฉ ุงู„ู€
531
00:42:11,000 --> 00:42:15,140
interference ุงู„ู„ูŠ ู…ู…ูƒู† ุชุตูŠุฑ ุนู†ุฏู‡ุง ุงู„ูŠูˆู… ู†ูƒุชููŠ ู„ุญุฏ
532
00:42:15,140 --> 00:42:17,380
ุงู„ุฌุฒุฆูŠุฉ ู‡ุงูŠ ุฅู† ุดุงุก ุงู„ู„ู‡ ุชุนุงู„ู‰ ูˆุงู„ู…ุฑุฉ ุงู„ุฌุงูŠุฉ
533
00:42:17,380 --> 00:42:21,860
ุจู†ุชูƒู„ู… ุนู„ู‰ ุงู„ู€ threads pool ูˆุงู„ู€ executors ุนุดุงู†
534
00:42:21,860 --> 00:42:25,520
ู†ู†ุชู‚ู„ ู„ู…ุฑุญู„ุฉ ุฌุฏูŠุฏุฉ ููŠ ุงู„ุชุนุงู…ู„ ู…ุน ุงู„ู€ threads ููŠ ุฃูŠ
535
00:42:25,520 --> 00:42:27,840
ุณุคุงู„ ูŠุง ุจู†ุงุชุŸ ุงู„ู„ู‡ ูŠุนุทูŠูƒู… ุงู„ุนุงููŠุฉ