Click here to Skip to main content
12,250,546 members (50,227 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

6.8K views
78 downloads
10 bookmarked
Posted

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.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

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

Share

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++.

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 13 Nov 2012
Article Copyright 2012 by Orjan Westin
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid