September 2003 Meeting
November 2003 Meeting
Return to Meetings

October 2003 Meeting

Topic:

Object-Oriented Multithreading in C++

Speaker:

Bartosz Milewski

When:

Wednesday, October 8th, 2003

Where:

Avaya Corporation
6464 185th Avenue Northeast
Redmond, Washington 98052
[ Map ]

Description:

Traditional procedural approach to thread programming is to create a thread and pass it a function to execute. But a function operates on data. The data is most likely shared with other threads. In the object-oriented world data comes first. You create an ActiveObject whose state develops asynchronously. There is a captive thread inside an Active Object, but it's only an implementation detail.

I will describe a C++ implementation of Active Object using Windows API and I will discuss multiple uses of ActiveObject in our own commercial product, including various synchronization techniques.

A similar concept in Java is called the Runnable interface.

About the Speaker:

Bartosz Milewski is the author of C++ In Action, Industrial-Strength Programming Techniques (Addison-Wesley, 2001). He is the founder of Reliable Software (www.relisoft.com), a Seattle-based company that makes a peer-to-peer version control system, Code Co-op. He was one of the architects of the Microsoft Index Server.

Click here to download the source code and slides from the presentation
 
 
 

© 2003-08 Northwest C++ Users Group (NWCPP) | Contact | Privacy Policy | Credits | EMail