Forum: Threads and Synchronization

Questions Multi-threading and Synchronization

1 Day ago
User Image
Pk25124

Member

Joined: Jun 25, 2017

Points: 810

Threads: 66

Posts: 18

Cyclic Barriar and Count down Latch in Java

What do you mean by Cyclic Barriar and Count down Latch in Jav... More

Last edited by Pk25124: 1 Hours ago
Replies: 1 | Views: 20
First let me explain here Cyclic Barrier. Cyclic Barrier:       &...
1 Hours ago
1 Day ago
User Image
Pk25124

Member

Joined: Jun 25, 2017

Points: 810

Threads: 66

Posts: 18

multithreading most asked interview question

You have 3 thread Thread1, Thread2, and Thread3 now how will you en... More

Last edited by Pk25124: 1 Hours ago
Replies: 2 | Views: 57
actually many people think we can make it possible through setting priority but according ...
1 Hours ago
1 Day ago
User Image
Pk25124

Member

Joined: Jun 25, 2017

Points: 810

Threads: 66

Posts: 18

Multithreading test case 2

What will be the output and execution flow of this program ? More

Last edited by Pk25124: 4 Hours ago
Replies: 2 | Views: 48
Output with Execution Flow for Above Program.
4 Hours ago
13 Hours ago
User Image
MdAsif

Newbie

Joined: Oct 5, 2018

Points: 100

Threads: 1

Posts: 1

what is difference between thread engine and thread scheduler

What is difference between thread engine and thread scheduler? More

Last edited by MdAsif: 7 Hours ago
Replies: 1 | Views: 26
Thread engine is the one place inside the jvm where all created thread will be stored. The...
7 Hours ago
23 Days ago
User Image
Shubham12

Newbie

Joined: Apr 3, 2018

Points: 110

Threads: 12

Posts: 3

What is object lock when it is required

What is object lock when it is required? More

Last edited by Shubham12: 22 Hours ago
Replies: 2 | Views: 79
Object lock is required when u are working in multi threaded environment and want to ensur...
22 Hours ago
1 Day ago
User Image
Pk25124

Member

Joined: Jun 25, 2017

Points: 810

Threads: 66

Posts: 18

why not we call run() method directly

Why do we call start() method which in turns calls run() metho... More

Last edited by Pk25124: 22 Hours ago
Replies: 1 | Views: 37
first of all, we can directly call run() method without calling start() method but a separ...
22 Hours ago
1 Day ago
User Image
Pk25124

Member

Joined: Jun 25, 2017

Points: 810

Threads: 66

Posts: 18

One of the most asked interview question to experienced candidates

What are some common problems you have faced in multi-threadin... More

Last edited by Pk25124: 1 Day ago
Replies: 0 | Views: 29


No Posts Available