5
votes
Vote UpVote

Writing a simple threaded queue class using TMonitor (2)

Delphi Haven – In my previous post, I introduced TMonitor. In this post, I’ll actually put it work by writing a simple threaded queue class with it. ‘Simple’ could mean many things of course, but in this context it will denote two things in particular: firstly, my class will simply wrap the standard generic TQueue; and secondly, there won’t be any maximum item count implemented. The latter means only the the dequeuers’ (i.e., the item takers) may become waiters, i.e., be involved in a Wait loop. For sure, entry into the monitor on the enqueuing (item adding) side may be blocked, ...
Favorite? Off-Topic? Chris Rolliston @ 2011-05-06 14:21

Statistics

Visits: 677
Votes: 5
Favorites: 2
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
homolibere
Horbs
Tier777
vcldeveloper
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)