11
votes
Vote UpVote

Once upon a time in a thread…

DelphiTools – Last episode in the TMonitor saga. In the previous episode, Chris Rolliston posted a more complete test case, for which he got surprising results (including that a Critical Section approach wouldn’t scale with the thread count). Starting from  his code I initially also got similar surprising results. Revised Test with Stable Results I simplified his code (see below), by dropping the usage of several RTL classes and features, and went for a straightforward implementation, in the process, the oddities went away as far as Critical Section is concerned, and partially so as far as TMonitor ...
Favorite? Off-Topic? Eric @ 2011-05-26 10:20

Statistics

Visits: 1055
Votes: 11
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
François
jamiei
knight_killer
Leif Uneus
Primoz Gabrijelcic
runner
TOndrej
vcldeveloper
Wouter
Zzzzz
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)