Can you expand on the non-blocking IO scenario? Why don’t you just hand off execution to another thread associated with the transaction?
From: Alex Boisvert [mailto:firstname.lastname@example.org]
Sent: Monday, March 27, 2006 5:47 PM
To: Thompson, Bryan B.
Cc: Kevin Day; JDBM Developer listserv
Subject: Re: [Jdbm-developer] 2PL: transactions, threads and locking (resend!)
Thompson, Bryan B. wrote:
Alex, it appears that you want explicit start/suspend/resume operations for transactions – why? I would think that blocking on access to resources was sufficient to coordinate concurrent processing.
The suspend/resume operations only make sense if you want to multiplex work for several transactions in a single thread, as is the case for the non-blocking IO scenario.