mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-19 04:25:03 +00:00
switch roc to atomic refcounts
This commit is contained in:
parent
2dbbdf3e1f
commit
c21cf9b8d6
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ const Refcount = enum {
|
|||
atomic,
|
||||
};
|
||||
|
||||
const RC_TYPE: Refcount = .normal;
|
||||
const RC_TYPE: Refcount = .atomic;
|
||||
|
||||
pub fn increfRcPtrC(ptr_to_refcount: *isize, amount: isize) callconv(.C) void {
|
||||
if (RC_TYPE == .none) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue