On Monday 10 December 2007 11:48:19 SVN commits to the Asterisk project wrote:
> +int ast_atomic_fetchadd_int_slow(volatile int *p, int v)
> +{
> + int ret;
> + ret = *p;
> + *p += v;
> + return ret;
> +}
This is not atomic!