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

C#

 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 0:29
professionalJohn Torjo31-Oct-15 0:29 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 0:43
Member 1206160031-Oct-15 0:43 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 7:40
professionalJohn Torjo31-Oct-15 7:40 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 7:56
Member 1206160031-Oct-15 7:56 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 7:57
professionalJohn Torjo31-Oct-15 7:57 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 7:58
Member 1206160031-Oct-15 7:58 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 9:40
professionalJohn Torjo31-Oct-15 9:40 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 9:47
Member 1206160031-Oct-15 9:47 
Few points:

1) I will make that class actually internal and only other class in DLL
will be able to use it (I am writing that DLL too) - users can now use other public classes of DLL which use my Parameters class
2) So the only direct user of that class is ME and I can ensure before
its properties are accessed by other methods in other classes, there is a call checking if the method is inited or not
3) Maybe users want to specify other parameters - hence need for deinit

What do you think now?
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 9:51
professionalJohn Torjo31-Oct-15 9:51 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 10:24
Member 1206160031-Oct-15 10:24 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 11:10
professionalJohn Torjo31-Oct-15 11:10 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 14:25
Member 1206160031-Oct-15 14:25 
AnswerRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 23:26
professionalJohn Torjo31-Oct-15 23:26 
GeneralRe: Trying to design thread safe class Pin
Member 120616001-Nov-15 0:23
Member 120616001-Nov-15 0:23 
GeneralRe: Trying to design thread safe class Pin
John Torjo1-Nov-15 2:21
professionalJohn Torjo1-Nov-15 2:21 
GeneralRe: Trying to design thread safe class Pin
Member 120616001-Nov-15 4:36
Member 120616001-Nov-15 4:36 
GeneralRe: Trying to design thread safe class Pin
John Torjo1-Nov-15 21:26
professionalJohn Torjo1-Nov-15 21:26 
GeneralRe: Trying to design thread safe class Pin
Member 120616001-Nov-15 21:39
Member 120616001-Nov-15 21:39 
AnswerRe: Trying to design thread safe class Pin
John Torjo2-Nov-15 4:17
professionalJohn Torjo2-Nov-15 4:17 
GeneralRe: Trying to design thread safe class Pin
Member 120616002-Nov-15 4:40
Member 120616002-Nov-15 4:40 
AnswerRe: Trying to design thread safe class Pin
John Torjo2-Nov-15 20:00
professionalJohn Torjo2-Nov-15 20:00 
GeneralRe: Trying to design thread safe class Pin
Member 120616002-Nov-15 20:17
Member 120616002-Nov-15 20:17 
GeneralRe: Trying to design thread safe class Pin
John Torjo2-Nov-15 23:05
professionalJohn Torjo2-Nov-15 23:05 
GeneralRe: Trying to design thread safe class Pin
BillWoodruff2-Nov-15 13:46
professionalBillWoodruff2-Nov-15 13:46 
GeneralRe: Trying to design thread safe class Pin
John Torjo2-Nov-15 20:00
professionalJohn Torjo2-Nov-15 20:00 

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.