Click here to Skip to main content
15,895,256 members
Articles / Desktop Programming / Win32

A Synchronous Observer of Asynchronous Events

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
13 Nov 2012BSD6 min read 13.2K   99   11  
In this article, we will write a simple multi-threaded example implementation of the Observer pattern, and show how to re-synchronise a past event to look current. Then we’ll demonstrate a technique to treat future events like they’re current, too.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Software Developer (Senior)
Sweden Sweden
Orjan has worked as a professional developer - in Sweden and England - since 1993, using a range of languages (C++, Pascal, Delphi, C, C#, Visual Basic, Python and assemblers), but tends to return to C++.

Comments and Discussions