A transaction and its cursors must only be used by a single thread, and a thread may only have a single transaction at a time.