Click here to Skip to main content
15,886,823 members
Home / Discussions / C#
   

C#

 
QuestionMultithreaded shared remote object ? Pin
Gangren23-Apr-04 5:50
Gangren23-Apr-04 5:50 
AnswerRe: Multithreaded shared remote object ? Pin
Heath Stewart23-Apr-04 6:14
protectorHeath Stewart23-Apr-04 6:14 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren23-Apr-04 6:24
Gangren23-Apr-04 6:24 
GeneralRe: Multithreaded shared remote object ? Pin
Heath Stewart23-Apr-04 6:35
protectorHeath Stewart23-Apr-04 6:35 
GeneralRe: Multithreaded shared remote object ? Pin
Tom Larsen23-Apr-04 10:06
Tom Larsen23-Apr-04 10:06 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren23-Apr-04 12:59
Gangren23-Apr-04 12:59 
GeneralRe: Multithreaded shared remote object ? Pin
Tom Larsen29-Apr-04 11:07
Tom Larsen29-Apr-04 11:07 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren29-Apr-04 11:22
Gangren29-Apr-04 11:22 
hi, thanks again for your reply
I've been told on msdn newsgroup that singleton were supposed to spawn a new thread upon each call but that they actually did not, and this is apparently a known issue.
I've been adviced to look into genuine channels components, and they fit perfectly for what i need so i'll be using those
I have tried the same code i posted without any lock, to no avail.
I don't think the problem comes from locking, and i'd rather use singletons since i'm trying to build a DB access service, with several buffers acting as a proxy both for reading and writing.
(for instance, certain tables such as parameters tables will only be read once and for all and then stored in server memory, etc...)
And since i also need easy broadcasting (when parameters change) genuine channels do the work just fine.

Thanks again,

Etienne.
AnswerRe: Multithreaded shared remote object ? Pin
Gangren27-Apr-04 20:00
Gangren27-Apr-04 20:00 
GeneralPrint Preview Pin
GoodQuestion23-Apr-04 5:18
GoodQuestion23-Apr-04 5:18 
GeneralRe: Print Preview Pin
Heath Stewart23-Apr-04 6:09
protectorHeath Stewart23-Apr-04 6:09 
GeneralRe: Print Preview Pin
GoodQuestion27-Apr-04 11:21
GoodQuestion27-Apr-04 11:21 
GeneralDataGrids used for simple data Pin
Jon G23-Apr-04 4:45
Jon G23-Apr-04 4:45 
GeneralRe: DataGrids used for simple data Pin
Heath Stewart23-Apr-04 5:33
protectorHeath Stewart23-Apr-04 5:33 
QuestionHow do you bind data to a CheckedListBox? Pin
inyoursadachine23-Apr-04 4:37
inyoursadachine23-Apr-04 4:37 
AnswerRe: How do you bind data to a CheckedListBox? Pin
Heath Stewart23-Apr-04 5:28
protectorHeath Stewart23-Apr-04 5:28 
GeneralDataGrid full row select Pin
Guinness4Strength23-Apr-04 4:18
Guinness4Strength23-Apr-04 4:18 
GeneralRe: DataGrid full row select Pin
Heath Stewart23-Apr-04 5:13
protectorHeath Stewart23-Apr-04 5:13 
GeneralRe: DataGrid full row select Pin
Jay Shankar25-Apr-04 18:09
Jay Shankar25-Apr-04 18:09 
GeneralRe: DataGrid full row select Pin
Guinness4Strength26-Apr-04 4:18
Guinness4Strength26-Apr-04 4:18 
GeneralRe: DataGrid full row select Pin
Jay Shankar26-Apr-04 14:42
Jay Shankar26-Apr-04 14:42 
GeneralRe: DataGrid full row select Pin
Guinness4Strength27-Apr-04 3:23
Guinness4Strength27-Apr-04 3:23 
GeneralArray.IndexOf with an array of structures Pin
ebbie23-Apr-04 3:29
ebbie23-Apr-04 3:29 
GeneralRe: Array.IndexOf with an array of structures Pin
Heath Stewart23-Apr-04 3:54
protectorHeath Stewart23-Apr-04 3:54 
GeneralAdapter Parameter Pin
DougW4823-Apr-04 0:24
DougW4823-Apr-04 0:24 

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.