missing atomic_exchg_*() in the atomic.h API ?

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Mon, 6 Apr 2009 10:32:38 +0200
while looking at the functions in atomic.h i noticed that
there seems to be no atomic_exchg_*() in the API, though this
is a supported function in most/all supported archiectures,
and a useful function. We do have atomic_readandclear() which
uses the same underlying CPU instruction.

Again, any objection if i add it ?

	cheers
	luigi
  
Received on Mon Apr 06 2009 - 06:27:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC