lockfree inter-thread communication