1. A system, comprising: a first thread unit and a second thread unit; a memory coupled to the first and second thread units; a hardware mechanism of the first thread unit to perform an asynchronous control transfer to user code responsive to a write, by the second thread unit, to a selected location of said memory; said memory further to store software instructions to detect a conflict between two concurrent threads and to utilize said hardware mechanism to trigger said handler code responsive to said conflict.