Exchanger class represents a kind of
rendezvous point where two threads can
exchange objects.
An exchanger (also known as a rendezvous) is a thread-synchronization construct that lets a pair of threads exchange data items. An exchanger is similar to a cyclic barrier whose count is set to 2 but also supports exchange of data when both threads reach the barrier.
No comments:
Post a Comment