Naughter Software Logo

CSyncCollection v1.17 A templatized collection with thread synchronization

Welcome to CSyncCollection, a C++ class which implements a templatized collection which implements Windows 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 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 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 using STL containers.

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

 

Copyright

 

Updates

v1.17 (30 March 2022)

v1.16 (31 October 2021)

v1.15 (13 April 2020)

v1.14 (3 June 2019)

v1.13 (1 October 2018)

v1.12 (20 February 2016)

v1.11 (4 January 2015)

v1.10 (10 December 2011)

v1.09 (27 May 2011)

v1.08 (7 July 2008)

v1.07 (2 May 2006)

v1.06 (10 April 2006)

v1.06 (10 April 2006)

v1.05 (30 May 2005)

v1.04 (26 November 2004)

v1.03 (23 November 2003)

v1.02 (7 April 2002)

v1.01 (6 April 2002)

v1.0 (26 January 2002)