Click here to Skip to main content
15,899,474 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionclient release Pin
bfis10813713-Aug-08 3:44
bfis10813713-Aug-08 3:44 
AnswerRe: client release Pin
Mark Salsbery13-Aug-08 6:47
Mark Salsbery13-Aug-08 6:47 
AnswerRe: client release Pin
Manas Bhardwaj13-Aug-08 8:22
professionalManas Bhardwaj13-Aug-08 8:22 
Questionhow to get duplicate images like same size and similarity. Pin
skumar775512-Aug-08 21:21
skumar775512-Aug-08 21:21 
AnswerRe: how to get duplicate images like same size and similarity. Pin
Pete O'Hanlon12-Aug-08 22:11
mvePete O'Hanlon12-Aug-08 22:11 
News.NET 3.5 Enhancements Training Kit Available Online Pin
brucedkyle12-Aug-08 6:54
brucedkyle12-Aug-08 6:54 
GeneralRe: .NET 3.5 Enhancements Training Kit Available Online Pin
vikas amin13-Aug-08 5:15
vikas amin13-Aug-08 5:15 
QuestionIs event subscription/unsubscription thread-safe? Pin
supercat912-Aug-08 4:49
supercat912-Aug-08 4:49 
My understanding of event handling in .net is that event subscription and unsubscription are performed by m_theEvent[delegate].Combine(m_theEvent, subscribingDelegate) or m_theEvent[delegate].Remove(m_theEvent, unsubscribingDelegate). Certainly that is how they are illustrated in the books I've read. Such constructs would not be threadsafe, but when I've written some code to bash events (I only have a single-processor) I've not seen any subscription failures though I have seen unsubscription failures.

Do .net 2.0 and above do anything to ensure that subscriptions actually succeed (e.g. via locks or a CompareExchange loop), or is the code just getting "lucky", or what? If multiple threads will be subscribing and unsubscribing, may events safely be used or should some other mechanism be used instead?
AnswerRe: Is event subscription/unsubscription thread-safe? Pin
Giorgi Dalakishvili12-Aug-08 5:01
mentorGiorgi Dalakishvili12-Aug-08 5:01 
GeneralRe: Is event subscription/unsubscription thread-safe? Pin
supercat912-Aug-08 5:57
supercat912-Aug-08 5:57 
QuestionCan I create addin for Outlook2002 in VS2005 Pin
wasimsharp12-Aug-08 1:18
wasimsharp12-Aug-08 1:18 
AnswerRe: Can I create addin for Outlook2002 in VS2005 Pin
vikas amin13-Aug-08 5:15
vikas amin13-Aug-08 5:15 
QuestionVisual Studio 2008 very,very slow Pin
tonim11-Aug-08 21:41
tonim11-Aug-08 21:41 
AnswerRe: Visual Studio 2008 very,very slow Pin
Thomas Stockwell14-Aug-08 2:30
professionalThomas Stockwell14-Aug-08 2:30 
AnswerRe: Visual Studio 2008 very,very slow Pin
tonim16-Aug-08 1:20
tonim16-Aug-08 1:20 
QuestionCruise Control .NET Custom Formatting Pin
K.L.K11-Aug-08 21:39
K.L.K11-Aug-08 21:39 
QuestionInstalling Font through Instalation Package Pin
Aqeel Arshad Siddiqui11-Aug-08 19:04
Aqeel Arshad Siddiqui11-Aug-08 19:04 
AnswerRe: Installing Font through Instalation Package Pin
Manas Bhardwaj11-Aug-08 22:59
professionalManas Bhardwaj11-Aug-08 22:59 
NewsServices Packs released for .NET Framework 3.5, Visual Studio, Visual Studio Express Pin
brucedkyle11-Aug-08 8:37
brucedkyle11-Aug-08 8:37 
GeneralRe: Services Packs released for .NET Framework 3.5, Visual Studio, Visual Studio Express Pin
Pete O'Hanlon11-Aug-08 9:47
mvePete O'Hanlon11-Aug-08 9:47 
QuestionDocking in data grid view Pin
sailesh_gupta11-Aug-08 0:57
sailesh_gupta11-Aug-08 0:57 
AnswerRe: Docking in data grid view Pin
Manas Bhardwaj11-Aug-08 5:40
professionalManas Bhardwaj11-Aug-08 5:40 
AnswerRe: Cross-post Pin
Wendelius11-Aug-08 8:47
mentorWendelius11-Aug-08 8:47 
AnswerRe: Docking in data grid view Pin
darkelv12-Aug-08 4:23
darkelv12-Aug-08 4:23 
GeneralRe: Docking in data grid view Pin
sailesh_gupta12-Aug-08 20:46
sailesh_gupta12-Aug-08 20:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.