php - Does anyone know if xcache functions are atomic? -
i'm wondering xcache functions atomic. know xcache_inc()
, xcache_dec()
both atomic. dont know if xcache_get()
, xcache_unset()
atomic.
the feature list says xcache supports "atomic get/set/inc/dec".
so get
atomic, whatever means. (it means get
never returns in-between value, more or less same thing atomic set
.)
also, since set
atomic, see no reason why unset
wouldn't atomic, too.
Comments
Post a Comment