Can anyone explain
what is the purpose of atomic_t
in types.h(linux) I found the definition like this
But I cant understand the purpose of this definition.
Best Regards,
johny
what is the purpose of atomic_t
in types.h(linux) I found the definition like this
Code:
typedef struct
{
int counter;
} atomic_t;
Best Regards,
johny
Comment