Naughter Software Logo

CSyncCollection v1.08 A templatized collection with thread synchronization

Welcome to CSyncCollection, an MFC class which implements a templatized collection which implements thread synchronisation with timeouts for both adding and removing. In other words when you "Add", you can specify a timeout to wait for if the collection is full and if when you "Remove" data from the collection you can specify a timeout to wait for if the collection is empty. Making the class templatized means that you can store any type of data you want on in it. In addition templates are used to define various collection types. The code comes with predefined templates for both a stack and queue collection.

The enclosed zip file contains source for the class and a test program which implements a simulation of the classic consumer / producer thread synchronisation example.

 

Copyright

 

Updates

v1.0 (26 January 2002)

V1.01 (6 April 2002)

V1.02 (7 April 2002)

V1.03 (23 November 2003)

V1.04 (26 November 2004)

V1.05 (30 May 2005)

V1.06 (10 April 2006)

V1.06 (10 April 2006)

V1.07 (2 May 2006)

V1.08 (7 July 2008)