Amazon.com Widgets

Designing .NET Class Libraries: Designing for a Managed Memory World

Just a reminder, I will be in the chat room 1 PM PST Please come and join me!

 

Designing .NET Class Libraries: Designing for a Managed Memory World

Published 16 March 05 09:59 by BradA
Filed under:

Comments

# Alfred Gary Myers Jr. said on March 16, 2005 11:05 AM:
When adding to the calendar from within the chat list page (http://www.microsoft.com/communities/chats/default.mspx#05_Mar16_DOTNETFWK_CL9) it is scheduling it as March 23rd.
# Brad Abrams [MSFT] said on March 16, 2005 11:14 AM:
I am told that this page is out of date... You can enter the chat room here: http://msdn.microsoft.com/chats/chatroom.aspx
# Kalpesh said on March 16, 2005 11:31 PM:
Hi Brad,

Could you put the presentation for offline
viewing with only wmv files & the doc (the chat transcript)

I downloaded few videos of earlier presentations & it fetches the media player as well (which is extra download in all videos)

Thanks a lot
Kalpesh
# Anonymous Coward said on March 17, 2005 9:48 AM:
Just watched the presentation. I was confused on how to implement IDisposable. The example code you show uses a bool flag to see if this object has been disposed already. But what if your object could be accesses and disposed from multiple threads?

Then, I imagine using a mutex, but then destructors (which call Dispose) are not supposed to wait on any mutexes or the like, right?

Also, it's confusing to have 2 methods called Dispose(), and to have the only difference be that one takes a boolean disposing flag. I don't now how to make sense of that.
# Tintax said on March 19, 2005 2:32 AM:
The 300k version of the downloadable presentation is pointing at the wrong file (the Member Types presentation).
# Keith Hill said on March 21, 2005 9:38 AM:
I've seen a number of folks writing their protected virtual bool Dispose(bool d) method to be thread-safe. Can we have some guidance as to when this should be done? Should this be done in general as a good multi-threading practice?
# Brad Abrams [MSFT] said on March 21, 2005 2:37 PM:
Tintax - thanks for letting us know, we got it fixed...
# Brad Abrams [MSFT] said on March 22, 2005 10:33 AM:
Keith -- Nope, there is nothing special about Dispose() that would require it to be threadsafe... I would only do that if there is some external reason why all the methods on your type is threadsafe
New Comments to this post are disabled

Search

Go

This Blog

Syndication

Page view tracker