Sign in
|
Join
in
Current Tags
Eddie Garmon's Weblog (blog)
Original ASP.NET Community Bloggers (group)
(Entire Site)
ASP.NET Weblogs
Home
Blogs
This Blog
Home
About
Syndication
RSS
Atom
Comments RSS
Recent Posts
Doh! Synced Actions and Funcs
More on Syncronized - upgrade reader to writer
Sync Enumerator update.
Synchronization, ReaderWriterLockSlim, and Lambdas
NUnit extensions updated for 2.2.2
Tags
.NET
C#
eXtreme Programming in .Net
General
Lambdas
Synchronization
VisualStudio.Net
About
Me
Archives
July 2008
(2)
June 2008
(2)
October 2005
(1)
February 2005
(5)
January 2005
(3)
October 2004
(1)
January 2004
(1)
December 2003
(1)
November 2003
(5)
Eddie Garmon's Weblog
some architecture, some c#
Browse by Tags
All Tags
»
.NET
(
RSS
)
C#
Lambdas
Synchronization
Doh! Synced Actions and Funcs
After a little more use of the Synchronized<T>, I realized that over half the time I was 'returning true' just to satisfy Func<T, bool> when all that was really needed was an Action<T>. Read, ReadUpgradeableToWrite, and Write are all...
Posted
Jul 16 2008, 09:30 AM
by
UltimateRinger
with | with
no comments
Filed under:
Synchronization
,
C#
,
.NET
More on Syncronized - upgrade reader to writer
In using my new sync wrapper to clean up a bunch of older code, I came across the need to be able to upgrade from a reader to a writer for certain operations. One example of this it to clean up expired items in my my implementation of a Cache. protected...
Posted
Jul 11 2008, 02:14 PM
by
UltimateRinger
with | with
2 comment(s)
Filed under:
Lambdas
,
Synchronization
,
C#
,
.NET
Sync Enumerator update.
After a few more unit tests, I have fixed an issue with the GetSyncEnumerator method. The origional had 2 issues. was that the lock was being released too soon. was that a write in the middle of a long enumeration would cause a race and/or a deadlock...
Posted
Jun 30 2008, 09:40 AM
by
UltimateRinger
with | with
no comments
Filed under:
Lambdas
,
Synchronization
,
C#
,
.NET
Synchronization, ReaderWriterLockSlim, and Lambdas
Here is a synchronization wrapper that I wrote to wrap any object, and an implementation of a SynchronizedDictionary to show how to use it. I offer this code as-is without any waranty to fitness, to the public domain, for any purpose you see fit. Get...
Posted
Jun 27 2008, 01:43 PM
by
UltimateRinger
with | with
6 comment(s)
Filed under:
Lambdas
,
Synchronization
,
C#
,
.NET
More Posts
Terms of Use