|
![](/i/fill.gif) |
>>> Well, they tried making STM work on .NET and gave up because of all the
>>> state, if you remember.
>>
>> They gave up because they tried to make all the existing state mutation
>> stuff still work in the presence of transactions, which is /obviously/
>> impossible.
>
> That's my point. How useful would it be if you couldn't actually use any
> of the other .NET libraries, including even I/O, reflection, etc.?
You do all of that stuff from /outside/ your transactions, that's all.
Remember, transactions are only for thread communication. You start a
transaction, fetch the next work item from the shared work queue, and
the transaction. Then you process the work item, calling whatever
libraries you need. Simples.
Post a reply to this message
|
![](/i/fill.gif) |