Click here to Skip to main content
12,747,719 members (41,075 online)
Click here to Skip to main content


10 bookmarked
Posted 12 Nov 2012

A Synchronous Observer of Asynchronous Events

, 13 Nov 2012 BSD
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.



Compare Revision Minor Date Status Editor
5 - publicly available No 15-Dec-16 6:07 Available Deeksha Shenoy
Updates in content. Changes: 28
4 No 12-Nov-12 23:17 Available Smitha Nishant
Updates in content.
3 No 12-Nov-12 18:34 Pending Orjan Westin
Added zip file with source code and VS 2008 project/solution
1 No 12-Nov-12 9:58 Available Smitha Nishant
Updates in content. 294 changes had been made.


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


About the Author

Orjan Westin
Software Developer (Senior)
United Kingdom United Kingdom
Orjan has worked as a professional developer - in Sweden and England - since 1993, using a wide range of languages (C++, Pascal, Delphi, C, C#, Visual Basic, PHP, Python and x86 assembler), but tends to return to C++.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170215.1 | Last Updated 13 Nov 2012
Article Copyright 2012 by Orjan Westin
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid