 
 private func _retry(trans: Transactions) -> Transactions {
     trans.forceRetry = true
+    // longjmp(trans.env, 1)
     return trans
 }
 

    private var thereIsNoReads = true
    private var id:Int
    private var cond: UnsafeMutablePointer<pthread_cond_t>
    
    init() {
        self.id = _IDGenerator.sharedInstance.requestID()

    var needRestart = false
    var res: A
    var tr: Transactions
	// var env:UnsafeMutablePointer<Int32> = UnsafeMutablePointer.alloc(sizeof(jmp_buf))
	// var jmpres = setjmp(env)
    do {
        needRestart = false
        (res, tr) = stm.run(Transactions())
