Lock transactions to the process that created them
authorPaul J. Davis <paul.joseph.davis@gmail.com>
Tue, 12 Feb 2019 17:38:44 +0000 (11:38 -0600)
committerPaul J. Davis <paul.joseph.davis@gmail.com>
Tue, 12 Feb 2019 17:38:44 +0000 (11:38 -0600)
commit998e1bd3b084bd402940af7b8091a5007a1dc518
tree28c05f10e9def04bd40489135e931957de0ea6ec
parent98609237fcce51649d755631c7471d583d06acd4
Lock transactions to the process that created them

Rather than attempt to manage concurrent access to transactions we've
just removed the necessity by locking transaction resources to a given
thread. Perhaps in the future a use case for sharing a transaction
between threads may arrise and we'll have to revisit this approach.
However, given the five second limit on transactions, this seems fairly
unlikely at this point in time.
c_src/main.c
c_src/resources.c
c_src/resources.h
test/tester.es