GsDevKit / gsApplicationTools

This repository includes scripts and code that allow a more convenient setup of a Gemstone server application
MIT License
2 stars 2 forks source link

GemServer>>gemServerTransaction:onError: acquires transactionMutex ... #12

Closed dalehenrich closed 9 years ago

dalehenrich commented 9 years ago

that is not kosher if threads are forked off from within the block ... probably better if I separate the two ... perhaps gemServer:onError: does everything without the transaction mutex and gemServerTransaction:onError: acquires transactionMutex and calls gemServer:onError: ... doSimpleTransation: expects the transactionMutex to already be acquired or does he always acquire it? nested acquires are supposed to work ... I think ...

dalehenrich commented 9 years ago

GemServer>>gemServer: and GemServer>>gemServer:onError: provide error handling without acquiring transactionMutex ...