19- Summary
Jul 03, 2026 22:46
· 1:18
· English
· Whisper Turbo
· 2 স্পিকার
এই ট্ৰান্সক্ৰিপ্টৰ মেয়াদ আজি শেষ হয়।
স্থায়ী সংৰক্ষণৰ বাবে উন্নীত কৰক →
অকল প্ৰদৰ্শন কৰা হৈছে
0:03
S…
Speaker 1 (19- Summary)
Let's quickly recap the key points in this section.
0:06
S…
Speaker 1 (19- Summary)
Multi -threaded applications can do more in less time,
0:09
S…
Speaker 1 (19- Summary)
but they're challenging to build.
0:10
S…
Speaker 1 (19- Summary)
One of the problems in multi -threaded applications is a race condition,
0:14
S…
Speaker 1 (19- Summary)
which happens when multiple threads try to modify an object concurrently.
0:19
S…
Speaker 1 (19- Summary)
We may get wrong results or our application may crash.
0:22
S…
Speaker 1 (19- Summary)
Another problem in multi -threaded applications is that a thread can change
0:26
S…
Speaker 1 (19- Summary)
an object, but the change may not be visible to other threads due to caching.
0:31
S…
Speaker 1 (19- Summary)
We talked about various strategies to prevent these problems.
0:34
S…
Speaker 1 (19- Summary)
The first strategy was confinement,
0:36
S…
Speaker 1 (19- Summary)
which means not sharing data across threads.
0:38
S…
Speaker 1 (19- Summary)
We also talked about synchronization,
0:40
S…
Speaker 1 (19- Summary)
which involves locking and makes your code run sequentially.
0:44
S…
Speaker 1 (19- Summary)
So try to avoid it if you can.
0:46
S…
Speaker 1 (19- Summary)
We also talked about atomic types.
0:49
S…
Speaker 1 (19- Summary)
These types don't use locks.
0:50
S…
Speaker 2 (19- Summary)
Instead,
0:51
S…
Speaker 1 (19- Summary)
they use the compare and swap technique.
0:53
S…
Speaker 1 (19- Summary)
They're great for implementing counters.
0:55
S…
Speaker 1 (19- Summary)
We also talked about partitioning.
0:58
S…
Speaker 1 (19- Summary)
Concurrent collections in Java use this technique to allow multiple threads
1:02
S…
Speaker 1 (19- Summary)
access different segments or partitions concurrently.
1:06
S…
Speaker 1 (19- Summary)
So that brings us to the end of this section.
1:08
S…
Speaker 1 (19- Summary)
In the next section,
1:09
S…
Speaker 1 (19- Summary)
we're going to talk about the newer higher level constructs for building concurrent
1:13
S…
Speaker 1 (19- Summary)
applications in Java.
1:14
S…
Speaker 1 (19- Summary)
So I will see you next.
এই অনুলিপি AI (স্বয়ংক্ৰিয় কথোপকথন স্বীকৃতি) দ্বাৰা সৃষ্টি কৰা হৈছে। ইয়াৰ অন্তৰ্গত ত্ৰুটি থাকিব পাৰে - গুৰুত্বপূৰ্ণ ব্যৱহাৰৰ বাবে মূল অডিঅ'ৰ সৈতে পৰীক্ষা কৰক। AI নীতি
সাৰাংশ
এই ট্ৰান্সক্ৰিপ্টৰ AI সাৰাংশ সৃষ্টি কৰিবলৈ সাৰাংশ ক্লিক কৰক।
সাৰাংশ...
এই অনুলিপিৰ বিষয়ে AI ক প্ৰশ্ন কৰক
এই অনুবাদৰ বিষয়ে যিকোনো প্ৰশ্ন কৰক — AI-এ প্ৰযোজ্য অংশসমূহ বিচাৰি পাব আৰু উত্তৰ দিব।