Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: Showing a Form as a drop-down menu Pin
A.Wegierski15-Jun-03 22:54
A.Wegierski15-Jun-03 22:54 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap16-Jun-03 7:47
J. Dunlap16-Jun-03 7:47 
GeneralArrayLists & multithreading... Pin
viperxp15-Jun-03 5:56
viperxp15-Jun-03 5:56 
GeneralRe: ArrayLists & multithreading... Pin
leppie15-Jun-03 6:44
leppie15-Jun-03 6:44 
GeneralRe: ArrayLists & multithreading... Pin
Arjan Einbu15-Jun-03 11:46
Arjan Einbu15-Jun-03 11:46 
GeneralRe: ArrayLists & multithreading... Pin
viperxp15-Jun-03 23:24
viperxp15-Jun-03 23:24 
GeneralRe: ArrayLists & multithreading... Pin
James T. Johnson16-Jun-03 0:10
James T. Johnson16-Jun-03 0:10 
GeneralRe: ArrayLists & multithreading... Pin
viperxp16-Jun-03 2:53
viperxp16-Jun-03 2:53 
OK, let theList be the persistent copy (the one containing data that my app uses). is syncList an identical copy of theList, or just another reference to theList?

in my program, the threads will either read from or write to theList. Read & write operations will be mutually exclusive i.e. they cannot happen at the same time. when theList is being modified all reader threads must wait till the write is complete b4 they can read. Similar, the thread that modifies theList must wait till there's no read ops b4 changing theList.

There's multiple readers, but only 1 writer thread.

How can i apply the Sychronized(), lock(), and SyncRoot in my context?

I am quite new to C#, so I may not know certain things that u assumed that I should know. Can any1 provide me with a more detailed example, or perhaps point me to a more elaborative resource? thanks a bunch.
GeneralRe: ArrayLists & multithreading... Pin
James T. Johnson16-Jun-03 3:13
James T. Johnson16-Jun-03 3:13 
GeneralRe: ArrayLists & multithreading... Pin
viperxp16-Jun-03 7:10
viperxp16-Jun-03 7:10 
QuestionSimple inheritance? Pin
mcgahanfl15-Jun-03 2:27
mcgahanfl15-Jun-03 2:27 
AnswerRe: Simple inheritance? Pin
leppie15-Jun-03 3:54
leppie15-Jun-03 3:54 
GeneralRe: Simple inheritance? Pin
mcgahanfl15-Jun-03 17:14
mcgahanfl15-Jun-03 17:14 
GeneralWeb service performance... Pin
Matt Gullett15-Jun-03 2:25
Matt Gullett15-Jun-03 2:25 
GeneralRe: Web service performance... Pin
Kannan Kalyanaraman15-Jun-03 3:41
Kannan Kalyanaraman15-Jun-03 3:41 
GeneralRe: Web service performance... Pin
Matt Gullett15-Jun-03 3:47
Matt Gullett15-Jun-03 3:47 
GeneralRe: Web service performance... Pin
Kannan Kalyanaraman15-Jun-03 17:01
Kannan Kalyanaraman15-Jun-03 17:01 
GeneralRe: Web service performance... Pin
Rocky Moore15-Jun-03 23:18
Rocky Moore15-Jun-03 23:18 
GeneralRe: Web service performance... Pin
Matt Gullett15-Jun-03 23:35
Matt Gullett15-Jun-03 23:35 
GeneralDynamic object cloneing. Pin
Peter Kiss15-Jun-03 1:07
Peter Kiss15-Jun-03 1:07 
GeneralC# Service won't start Pin
gek_at14-Jun-03 23:59
gek_at14-Jun-03 23:59 
GeneralRe: C# Service won't start Pin
mcgahanfl15-Jun-03 2:16
mcgahanfl15-Jun-03 2:16 
GeneralRe: C# Service won't start Pin
gek_at15-Jun-03 3:20
gek_at15-Jun-03 3:20 
GeneralRe: C# Service won't start Pin
mcgahanfl15-Jun-03 3:53
mcgahanfl15-Jun-03 3:53 
GeneralRe: C# Service won't start Pin
gek_at15-Jun-03 11:11
gek_at15-Jun-03 11:11 

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.