Selasa, 22 Maret 2011

Wrapping a not thread safe object

Introduction    A colleague came to me with a question the answer for seemed very straight forward, yet an implementation took us more than a few minutes. The question was: I have a legacy object which is not thread safe, and all its methods, by its nature, synchronous. It was originally written to run on GUI thread in client application. Later on, this object had to be moved to server where it

Tidak ada komentar:

Posting Komentar