Click here to Skip to main content
16,006,348 members
Home / Discussions / C#
   

C#

 
QuestionGraph Pin
babbelfisken28-Oct-07 2:05
babbelfisken28-Oct-07 2:05 
AnswerRe: Graph Pin
Robert Rohde28-Oct-07 2:10
Robert Rohde28-Oct-07 2:10 
QuestionArray as a buffer in multithreading Pin
szolDat28-Oct-07 1:37
szolDat28-Oct-07 1:37 
AnswerRe: Array as a buffer in multithreading Pin
Robert Rohde28-Oct-07 2:21
Robert Rohde28-Oct-07 2:21 
AnswerRe: Array as a buffer in multithreading Pin
Guffa28-Oct-07 3:37
Guffa28-Oct-07 3:37 
GeneralRe: Array as a buffer in multithreading Pin
szolDat28-Oct-07 7:53
szolDat28-Oct-07 7:53 
AnswerRe: Array as a buffer in multithreading Pin
Guffa28-Oct-07 10:09
Guffa28-Oct-07 10:09 
AnswerRe: Array as a buffer in multithreading Pin
szolDat28-Oct-07 10:40
szolDat28-Oct-07 10:40 
"Using the lock statement on the memory stream doesn't protect the memory stream in any way. The object that is used in the lock statement is only used as an identifier, and the only thing that is protected is the code inside the lock statement block."

I think I get it. So the only way to restrict access is to force all threads to execute the same block of code for accessing the elements of the array, for example using the same accessor method or property? There isn't any way to lock objects in a memory, like you lock files with different reading / writing permissions? (I mean something like the System.IO.FileAccess.Read/Write/ReadWrite enum.)
GeneralRe: Array as a buffer in multithreading Pin
Guffa29-Oct-07 11:59
Guffa29-Oct-07 11:59 
AnswerRe: Array as a buffer in multithreading Pin
szolDat29-Oct-07 12:53
szolDat29-Oct-07 12:53 
QuestionControls Display Delay Pin
half-life28-Oct-07 0:39
half-life28-Oct-07 0:39 
AnswerRe: Controls Display Delay Pin
il_masacratore28-Oct-07 12:43
il_masacratore28-Oct-07 12:43 
GeneralRe: Controls Display Delay Pin
half-life28-Oct-07 12:47
half-life28-Oct-07 12:47 
QuestionHow to recored and play mp3 files? Pin
Mohsen Saad28-Oct-07 0:23
Mohsen Saad28-Oct-07 0:23 
AnswerRe: How to recored and play mp3 files? Pin
Giorgi Dalakishvili28-Oct-07 1:03
mentorGiorgi Dalakishvili28-Oct-07 1:03 
QuestionNotify Control Pin
Thaer Hamael27-Oct-07 21:29
Thaer Hamael27-Oct-07 21:29 
AnswerRe: Notify Control Pin
mav.northwind27-Oct-07 22:46
mav.northwind27-Oct-07 22:46 
GeneralRe: Notify Control Pin
Thaer Hamael27-Oct-07 23:07
Thaer Hamael27-Oct-07 23:07 
GeneralRe: Notify Control Pin
mav.northwind27-Oct-07 23:32
mav.northwind27-Oct-07 23:32 
AnswerRe: Notify Control Pin
Luc Pattyn28-Oct-07 5:11
sitebuilderLuc Pattyn28-Oct-07 5:11 
QuestionProgram that makes a Program Pin
sublimies27-Oct-07 18:20
sublimies27-Oct-07 18:20 
AnswerRe: Program that makes a Program Pin
DaveX8627-Oct-07 19:19
DaveX8627-Oct-07 19:19 
AnswerRe: Program that makes a Program Pin
Giorgi Dalakishvili28-Oct-07 0:53
mentorGiorgi Dalakishvili28-Oct-07 0:53 
QuestionInput data into Access table Pin
latuan13227-Oct-07 17:03
latuan13227-Oct-07 17:03 
AnswerRe: Input data into Access table Pin
Paul Conrad28-Oct-07 6:36
professionalPaul Conrad28-Oct-07 6:36 

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.