About Question enthuware.ocpjp.v11.2.3363 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
hsnclk
Posts: 16
Joined: Sat Dec 16, 2023 7:22 am
Contact:

About Question enthuware.ocpjp.v11.2.3363 :

Post by hsnclk »

What if we changed the order of Data objects like below; would a livelock or deadlock occur?

Code: Select all

new Thread(() -> {w1.write(d1,d2);}).start();
new Thread(() -> {w2.write(d2,d1);}).start(); 

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v11.2.3363 :

Post by admin »

what do you think?
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: pavvel and 242 guests