Sollicitatievraag bij SCOOP Software

What does 'synchronized(someObject)' mean in a code snippet

Antwoorden op sollicitatievragen

Anoniem

9 jul 2020

i think they want a people who know concurrent... i know, i've applied for the job, and still waiting for a response. wish to work together with ur guys!!

Anoniem

16 aug 2018

synchronized makes sure, that the current Thread holds the mutex for someObject before it can enter the following code block.