Click here to Skip to main content
15,897,518 members
Home / Discussions / C#
   

C#

 
GeneralRe: RPC Error Pin
Syed Shahid Hussain16-Feb-10 10:30
Syed Shahid Hussain16-Feb-10 10:30 
GeneralRe: RPC Error Pin
Dimitri Witkowski16-Feb-10 10:47
Dimitri Witkowski16-Feb-10 10:47 
GeneralRe: RPC Error Pin
Syed Shahid Hussain16-Feb-10 11:00
Syed Shahid Hussain16-Feb-10 11:00 
GeneralRe: RPC Error Pin
Dimitri Witkowski16-Feb-10 18:09
Dimitri Witkowski16-Feb-10 18:09 
QuestionGrouping elements by memory words: possible? Pin
blackblizzard16-Feb-10 3:29
blackblizzard16-Feb-10 3:29 
AnswerRe: Grouping elements by memory words: possible? Pin
Pete O'Hanlon16-Feb-10 4:11
mvePete O'Hanlon16-Feb-10 4:11 
GeneralRe: Grouping elements by memory words: possible? Pin
blackblizzard16-Feb-10 4:21
blackblizzard16-Feb-10 4:21 
AnswerRe: Grouping elements by memory words: possible? Pin
Luc Pattyn16-Feb-10 6:29
sitebuilderLuc Pattyn16-Feb-10 6:29 
Hi again,

1.
only yesterday[^] you weren't inserting any locks, and now you're floading the world with them?

2.
indeed, CLR objects float around unless pinned; and pinning reduces the efficiency of the memory manager, possably resulting in an early OutOfMemoryException.

3.
I would create a fixed number of locks (actually I would do no such thing, you won't sell me automated or hidden locks, as I told you earlier), and keep a dictionary mapping objects to locks; when a new object needs a lock, just pick an existing one at random, and store the mapping in the dictionary. You may want to use weak references so your dictionary does not keep everything alive forever.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.

GeneralRe: Grouping elements by memory words: possible? Pin
blackblizzard16-Feb-10 8:12
blackblizzard16-Feb-10 8:12 
QuestionHow i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
Nematjon Rahmanov16-Feb-10 2:33
Nematjon Rahmanov16-Feb-10 2:33 
AnswerRe: How i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
Keith Barrow16-Feb-10 2:38
professionalKeith Barrow16-Feb-10 2:38 
AnswerRe: How i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
Abhinav S16-Feb-10 2:59
Abhinav S16-Feb-10 2:59 
QuestionRe: How i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
Nematjon Rahmanov16-Feb-10 3:11
Nematjon Rahmanov16-Feb-10 3:11 
AnswerRe: How i can protect my C# app Reflector (Red Gate) and other disassemblers ? [modified] Pin
Hristo-Bojilov16-Feb-10 3:19
Hristo-Bojilov16-Feb-10 3:19 
AnswerRe: How i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
danberlove16-Feb-10 4:50
danberlove16-Feb-10 4:50 
GeneralRe: How i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
DaveyM6916-Feb-10 6:13
professionalDaveyM6916-Feb-10 6:13 
AnswerRe: How i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
harold aptroot16-Feb-10 7:25
harold aptroot16-Feb-10 7:25 
QuestionAdding 2 Zeros after each byte in textbox Pin
xEvOx16-Feb-10 1:29
xEvOx16-Feb-10 1:29 
AnswerRe: Adding 2 Zeros after each byte in textbox Pin
Rob Philpott16-Feb-10 1:53
Rob Philpott16-Feb-10 1:53 
AnswerRe: Adding 2 Zeros after each byte in textbox Pin
Richard MacCutchan16-Feb-10 2:39
mveRichard MacCutchan16-Feb-10 2:39 
GeneralRe: Adding 2 Zeros after each byte in textbox Pin
Rajesh Anuhya16-Feb-10 2:51
professionalRajesh Anuhya16-Feb-10 2:51 
AnswerRe: Adding 2 Zeros after each byte in textbox Pin
Rajesh Anuhya16-Feb-10 2:50
professionalRajesh Anuhya16-Feb-10 2:50 
GeneralRe: Adding 2 Zeros after each byte in textbox Pin
harold aptroot16-Feb-10 8:34
harold aptroot16-Feb-10 8:34 
QuestionHow to read bounced mail custom header .net 1.1 (POP3 server) [modified] Pin
cshelva16-Feb-10 0:28
cshelva16-Feb-10 0:28 
QuestionHow to install .Net Framework with my C# application ? Pin
CoderForEver15-Feb-10 23:06
CoderForEver15-Feb-10 23:06 

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.