hi mike,
please keep threads on the list ...

the issue is that i need to host the ajax direct actions in a WOA that already has EOF in the picture. The EOF related calls too are served through existing DAs.

if i just turn on multi-threading and do not synchronize the EOF calls, then if two or more requests came in for EOF related operations they would choke? [is what i understand]
if you're making ajax calls that (as I understood it from your original) are NOT touching eof, you're not going to lock against EOF ... they're just unrelated method calls. if you have two direct actions touching EOF, then yes, if you are .lock()ing properly, they will become single-threaded at one of the layers of EOF.

so if person A calls dontTouchEOFAction(), person B calls touchEOFAction(), and person C calls touchAnotherPartofEOFAction(), person A will not block or be blocked by anything, person B and C will be single-threaded and one will block the other until the database operation is complete.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to