Sign in
Eric Eilebrecht's blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Concurrency
Managed
Memory Models
ThreadPool
Unmanaged
Archive
Archives
September 2010
(1)
June 2009
(1)
April 2009
(1)
November 2008
(1)
June 2008
(1)
May 2008
(2)
March 2008
(2)
November 2007
(2)
October 2007
(1)
March 2007
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Eric Eilebrecht's blog
CLR 4.0 ThreadPool Improvements: Part 2 (sort of...)
Posted
over 3 years ago
by
Eric Eilebrecht - MSFT
3
Comments
It's now been more than 16 months since I promised to post about the improvements we made in the ThreadPool's concurrency control algorithm for CLR 4. Lesson: don't promise to write a series of articles unless you've got the time to do it! Luckily...
Eric Eilebrecht's blog
ThreadPool on Channel 9
Posted
over 4 years ago
by
Eric Eilebrecht - MSFT
3
Comments
Charles from Channel 9 stopped by my office a couple of weeks ago to chat with Erika Parsons and I about the ThreadPool work we're doing for .NET 4 . I learned something from this: understanding something, and explaining it in person, for the first time...
Eric Eilebrecht's blog
CLR 4.0 ThreadPool Improvements: Part 1
Posted
over 4 years ago
by
Eric Eilebrecht - MSFT
28
Comments
This is the first in a series of posts about the improvements we are making to the CLR thread pool for CLR 4.0 (which will ship with Visual Studio 2010). This post will cover changes to the queuing infrastructure in the thread pool, which aim to enable...
Eric Eilebrecht's blog
CLR 4.0: Parallel Extensions and the CLR ThreadPool
Posted
over 5 years ago
by
Eric Eilebrecht - MSFT
0
Comments
It's been a while since I've posted; for the past several months I've been working on deep changes in the CLR ThreadPool to support the Parallel Extensions to the .NET Framework. I hope to say a few things about the changes we're making in the CLR...
Eric Eilebrecht's blog
Windows I/O threads vs. managed I/O threads
Posted
over 5 years ago
by
Eric Eilebrecht - MSFT
3
Comments
A question recently came up on an internal discussion forum, which I'll paraphrase: The Windows QueueUserWorkItem API has an option to queue to an I/O thread. Why doesn't the managed ThreadPool.QueueUserWorkItem support this option? First, some background...
Eric Eilebrecht's blog
When does it make sense to use Win32 Fibers?
Posted
over 5 years ago
by
Eric Eilebrecht - MSFT
4
Comments
This has been discussed fairly frequently on the Web. Chris Brumme discusses this here: http://blogs.msdn.com/cbrumme/archive/2003/04/15/51351.aspx Raymond Chen discusses this here: http://blogs.msdn.com/oldnewthing/archive/2004/12/31/344799...
Eric Eilebrecht's blog
ThreadPool changes in .NET 3.5 SP1 Beta
Posted
over 5 years ago
by
Eric Eilebrecht - MSFT
1
Comments
.NET 3.5 SP1 (A.K.A. CLR 2.0 SP2) is now available as a Beta release. This beta release has the fix for the ThreadPool ramp-up issue discussed here and here . It also has some other improvements to the ThreadPool's thread creation algorithm that can...
Eric Eilebrecht's blog
ThreadPool bug in CLR 2.0 SP1
Posted
over 5 years ago
by
Eric Eilebrecht - MSFT
3
Comments
Shortly after the release of CLR 2.0 SP1 (a.k.a. Orcas or .NET 3.5), several customers noticed some very odd behavior in the ThreadPool. The ThreadPool is supposed to create threads as fast as possible, up to the current setting for MinThreads - but it...
Eric Eilebrecht's blog
When should you call RegisteredWaitHandle.Unregister?
Posted
over 5 years ago
by
Eric Eilebrecht - MSFT
0
Comments
The managed ThreadPool provides a way to asynchronously wait for WaitHandles, via ThreadPool.RegisterWaitForSingleObject. This method returns a new instance of RegisteredWaitHandle, which has a single method: Unregister. It's obvious from the name that...
Eric Eilebrecht's blog
Which managed memory model?
Posted
over 6 years ago
by
Eric Eilebrecht - MSFT
1
Comments
In this article , Vance Morrison describes some of the issues involved in writing managed multithreaded code that avoids the use of locks. In particular, he discusses the impact of memory models on lock-free (or low-lock) programming. For managed code...
Eric Eilebrecht's blog
What synchronization primitives would you like to have in the .NET Framework?
Posted
over 6 years ago
by
Eric Eilebrecht - MSFT
0
Comments
The .NET framework currently offers several synchronization primitives: Monitors (via the Monitor class. C# users know this as the "lock" statement) Two varieties of reader/writer lock (ReaderWriterLock / ReaderWriterLockSlim) Events (ManualResetEvent...
Eric Eilebrecht's blog
Fun programming problem: a simple lock-free algorithm
Posted
over 6 years ago
by
Eric Eilebrecht - MSFT
3
Comments
Can the program below ever print “oops?” #include <stdio.h> #include <process.h> struct Globals { volatile int start; int a; int b; volatile int end; }; Globals globals; void WriterThread( void *)...
Eric Eilebrecht's blog
Welcome
Posted
over 6 years ago
by
Eric Eilebrecht - MSFT
0
Comments
Welcome to my new blog. I just moved to the Common Language Runtime team here in rainy Redmond, after spending nearly seven years in sunny California developing storage services for Hotmail (now Windows Live Mail). Luckily, I spent three years prior to...
Page 1 of 1 (13 items)