Displaying 1 result from an estimated 1 matches for "libblockruntime".
Did you mean:
libblocksruntime
2015 Apr 08
2
[LLVMdev] __sync_add_and_fetch in objc block for global variable on ARM
..., count);
fflush(stdout);
});
}
...
dispatch_main();
}
in case of count is local variable in scope of main function and has __block attribute, all is fine.
I'm using
clang version 3.3 (tags/RELEASE_33/final)
Target: armv7l-unknown-linux-gnueabi
Thread model: posix
libBlockRuntime 0.3
libdispatch for linux 1.2
CPU is ARMv7,
in disas I see dmb ish instruction, but I don't know is it enough.
I understand, my clang is out of date. Moving to new version could be painful )
Maybe somebody knows, was that bug fixed?
BR,
Alexey