Low-overhead barrier synchronization for openmp-like parallelism on the single-chip cloud computer