Forums Java Help Describe synchronization in respect to multithreading

This topic contains 1 reply, has 1 voice, and was last updated by  Aakanksha 8 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3963

    Aakanksha
    Participant

    Describe synchronization in respect to multithreading.

    #11582

    Aakanksha
    Participant

    With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources.

    Without synchonization, it is possible for one thread to modify a shared variable while another thread is in the process of using or updating same shared variable. This usually leads to significant errors.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.