/* * Copyright 2012 Phil Pratt-Szeliga and other contributors * http://chirrup.org/ * * See the file LICENSE for copying permission. */ package org.trifort.rootbeer.testcases.rootbeertest.gpurequired; import org.trifort.rootbeer.runtime.RootbeerGpu; public class SimpleSynchronizedObject { private int m_value; public SimpleSynchronizedObject(){ m_value = 0; } public synchronized void inc(){ m_value++; } public int get(){ return m_value; } }