Sign in
hafnium
/
hafnium
/
third_party
/
linux
/
refs/heads/master
/
.
/
scripts
/
atomic
/
fallbacks
/
set_release
blob: 45bb5e0cfc08e3bd97aed11b2f1534c941f42729 [
file
] [
log
] [
blame
] [
edit
]
cat
<<
EOF
static
inline
void
$
{
atomic
}
_set_release
(
$
{
atomic
}
_t
*
v
,
$
{
int
}
i
)
{
smp_store_release
(&(
v
)->
counter
,
i
);
}
EOF