[PATCH v18 1/3] include: add atomic read/write of pointers