Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
GeneralRe: Changing the text properties of a text box. Pin
Darrall8-Apr-10 7:22
Darrall8-Apr-10 7:22 
Questionproblem when running a delay signed assembly in another pc Pin
prasadbuddhika7-Apr-10 6:33
prasadbuddhika7-Apr-10 6:33 
QuestionWhile Loop sucking up all processor's cpu cycles Pin
BuggingMe7-Apr-10 6:17
BuggingMe7-Apr-10 6:17 
AnswerRe: While Loop sucking up all processor's cpu cycles Pin
Not Active7-Apr-10 6:41
mentorNot Active7-Apr-10 6:41 
GeneralRe: While Loop sucking up all processor's cpu cycles Pin
BuggingMe7-Apr-10 6:58
BuggingMe7-Apr-10 6:58 
GeneralRe: While Loop sucking up all processor's cpu cycles Pin
Not Active7-Apr-10 7:08
mentorNot Active7-Apr-10 7:08 
GeneralRe: While Loop sucking up all processor's cpu cycles Pin
PIEBALDconsult7-Apr-10 7:49
mvePIEBALDconsult7-Apr-10 7:49 
AnswerRe: While Loop sucking up all processor's cpu cycles Pin
kevinnicol7-Apr-10 6:59
kevinnicol7-Apr-10 6:59 
GeneralRe: While Loop sucking up all processor's cpu cycles Pin
Fayu7-Apr-10 9:11
Fayu7-Apr-10 9:11 
QuestionRe: Calling an event in a different namespace Pin
roman_s7-Apr-10 5:34
roman_s7-Apr-10 5:34 
AnswerRe: Calling an event in a different namespace [modified] Pin
Dan Mos7-Apr-10 5:39
Dan Mos7-Apr-10 5:39 
GeneralRe: Calling an event in a different namespace Pin
roman_s7-Apr-10 8:13
roman_s7-Apr-10 8:13 
AnswerRe: Calling an event in a different namespace Pin
O.Phil7-Apr-10 5:53
O.Phil7-Apr-10 5:53 
QuestionUpdate MDI child controls (TextBox ect) from a non parent control Pin
Deneys7-Apr-10 4:12
Deneys7-Apr-10 4:12 
AnswerRe: Update MDI child controls (TextBox ect) from a non parent control Pin
Eddy Vluggen7-Apr-10 4:47
professionalEddy Vluggen7-Apr-10 4:47 
QuestionSearching words/phrases on the text file Pin
K Suresh Reddy7-Apr-10 3:54
K Suresh Reddy7-Apr-10 3:54 
AnswerRe: Searching words/phrases on the text file Pin
Eddy Vluggen7-Apr-10 5:00
professionalEddy Vluggen7-Apr-10 5:00 
QuestionEvents related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 1:57
_ASPAle_7-Apr-10 1:57 
AnswerRe: Events related to the selection of text on a multiline textbox Pin
Not Active7-Apr-10 2:04
mentorNot Active7-Apr-10 2:04 
GeneralRe: Events related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 7:21
_ASPAle_7-Apr-10 7:21 
AnswerRe: Events related to the selection of text on a multiline textbox Pin
Arun Jacob7-Apr-10 2:15
Arun Jacob7-Apr-10 2:15 
GeneralRe: Events related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 7:18
_ASPAle_7-Apr-10 7:18 
QuestionCrystal Report with Dynamic Picture Pin
sachees1237-Apr-10 0:13
sachees1237-Apr-10 0:13 
QuestionReplacing objects, handling clones, dealing with write logs [modified] Pin
blackblizzard6-Apr-10 23:45
blackblizzard6-Apr-10 23:45 
AnswerRe: Replacing objects, handling clones, dealing with write logs Pin
Stanciu Vlad8-Apr-10 11:45
Stanciu Vlad8-Apr-10 11:45 
A very long post, a very long problem and a very long solution.

From what I understand you want to have shared objects (atomic objects) that can be modified using a transactional mechanism. And your main problem is that when a transaction is running what data you show to other requests.

If this is the case why don't you do as in a sql transactional server? When a transaction is started the atomic object is blocked until the transaction finishes succesfully or not. As for the data you provide to client requests, you don't give them acces to the main object, but to a clone of the object. And all changes must be made using an global object that supplies procedures following some rulles (meaning that in order to change the list of the object, you don't change the list, but call a procedure of that global object that does the job).

There are a couple of ways you could handle the transactional mechanism. One of them is to use a transaction object on which you use a mutex or something.

Hope this helps.
I have no smart signature yet...

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.