Jan 14, 2009

Synchronization and its benefit. Asynchronization and its benefit.

Synchronization and its benefit. Asynchronization and its benefit.

Synchronization: in the multithreading environment, at one time, only one thread can operate on the synchronization object, which protect the security of the data when update the data. If at same time two or more threads want to operate the data, there is a potential conflict caused. At same time, two or more threads can operate on the same asynchronization data. Synchronization will slow done the speed of program.

No comments:

Post a Comment