Paolo Bonzini c740ad92d0 QSLIST: add lock-free operations
These operations are trivial to implement and do not have ABA problems.
They are enough to implement simple multiple-producer, single consumer
lock-free lists or, as in the next patch, the multiple consumers can
steal a whole batch of elements and process them at their leisure.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1417518350-6167-5-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-01-13 13:43:29 +00:00
..
2014-11-02 10:04:34 +03:00
2014-11-02 10:04:34 +03:00
2014-10-09 15:36:15 +02:00
2013-02-16 11:11:34 +00:00
2014-05-30 13:00:28 -06:00
2014-12-16 18:43:19 +00:00
2014-02-20 13:14:18 +01:00
2015-01-13 13:43:29 +00:00
2014-06-19 18:44:19 +03:00
2014-02-01 13:46:06 +04:00
2014-03-13 14:42:21 +01:00
2013-10-17 17:30:55 +02:00
2013-10-17 17:30:55 +02:00