Click here to Skip to main content
11,629,614 members (81,520 online)
Click here to Skip to main content
Add your own
alternative version

A synchronous observer of asynchronous events

, 13 Nov 2012 BSD 6.1K 74 10
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

Downloads

License

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

Share

About the Author

Orjan Westin
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...

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