Welcome to the Webmaster Forum.
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Oct 2016
    Location
    Delhi
    Posts
    82

    What is synchronization and why it is important?

    Synchronization occurs when the programmer want to run two thread at a time which shares some property. Synchronization is the process that control access to multiple threads to share resources.

  2. #2
    Senior Member
    Join Date
    Jan 2016
    Location
    Mumbai
    Posts
    519

    Re: What is synchronization and why it is important?

    Very nice and good post.

  3. #3
    Junior Member
    Join Date
    Feb 2018
    Location
    Hyderabad
    Posts
    23

    Re: What is synchronization and why it is important?

    Synchronization, is a process that involves coordinating the execution of multiple threads to ensure a desired outcome without corrupting the shared data and preventing any occurrence of deadlocks and race conditions.

  4. #4
    Member
    Join Date
    Dec 2017
    Location
    Santa Clara, California, USA
    Posts
    81

    Re: What is synchronization and why it is important?

    Synchronization, in the context of .NET, is a process that involves coordinating the execution of multiple threads to ensure the desired outcome without corrupting the shared data and preventing any occurrence of deadlocks and race conditions.

    Synchronization also occurs between network nodes to ensure that data streams are received and transmitted correctly, and to prevent data collision. It usually uses a clock signal transmitted in sequence with a data stream to maintain proper signal timing.

  5. #5
    Junior Member
    Join Date
    Mar 2018
    Posts
    27

    Re: What is synchronization and why it is important?

    It is a process of matching the speeds of both QTP and AUT in order to get proper execution and results.

    Where Synchronization is required:
    During test execution QTP gives instructions one by one with same speed, but AUT takes less time for some operations execution and more time for some operations execution, that time we may not get proper execution and results. In order to get proper results in between QTP & AUT synchronization is required.
    There are several methods available in QTP for synchronization.
    1. Inserting Wait statements.
    2. Inserting Synchronization points.
    3. Increasing Tool default synchronization time.
    4. Sync Method (Only for WEB)
    5. Exist Property

  6. #6
    Junior Member
    Join Date
    Mar 2018
    Posts
    3

    Re: What is synchronization and why it is important?

    Some resources in programming (such as files, data structures, etc) don't handle being accessed at the same time very well.

    For example, two threads adding an object to a list at the same time could end up working correctly, dropping one or both of the items, or completely corrupting the state of the list.

    In that example, synchronization would be making sure that only one thread is accessing the list at a time, which should prevent any problems from arising.

    Most languages provide facilities for synchronization. In Java, for example, there are synchronized blocks and methods and the Lock interface and its implementations.

    Thanks
    Emily

 

 

Similar Threads

  1. Why DA is so Important?
    By michaelthompson in forum Search Engine Optimization (SEO)
    Replies: 11
    Last Post: 12-06-2016, 06:40 AM
  2. h2 Tag is important for SEO or not?
    By sadianisar in forum Search Engine Optimization (SEO)
    Replies: 2
    Last Post: 11-19-2016, 07:51 AM
  3. What is synchronization and why it is important?
    By chinmay.sahoo in forum Coding & Programming
    Replies: 4
    Last Post: 04-07-2016, 04:36 AM
  4. Is CSS important in SEO?
    By niharikadutt in forum Search Engine Optimization (SEO)
    Replies: 9
    Last Post: 02-10-2015, 12:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to top

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172