Some platforms do not support `bool` type as shared variables, and no component reference for atomics.