Previous | Next --- Slide 34 of 64
Back to Lecture Thumbnails

In the OpenTM example, the decision to abort a transaction by a thread is taken on a per chunk basis (50 elements) or a per element basis?


@mrrobot, I believe it is taken on per element basis.


@PandaX, based on the description in this paper, transfor can take up to three arguments. The first argument will determine how the threads are scheduled (static or dynamic). The second argument will identify the number of iterations (by chunk size). The third argument will specify how many loops are in one transaction.

Since we will have 50 elements in one transaction, it should be executed per chunk basis.