Skip to content

Instantly share code, notes, and snippets.

import java.util.UUID;
import java.util.concurrent.LinkedBlockingQueue;
public class Barber {
private final static int MaxSeats = 3;
public static void main(String[] args) throws InterruptedException {
final LinkedBlockingQueue<String> q = new LinkedBlockingQueue<String>(
MaxSeats);
// Barber thread
cmake_minimum_required(VERSION 3.2)
project(nisqually)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
add_definitions(-DENTRY_CONFIG_USE_SDL=1)
add_definitions(-DBGFX_CONFIG_RENDERER_OPENGL=1)
IF(APPLE)
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -framework SDL2 -framework CoreFoundation -framework Cocoa -framework OpenGL -framework GLUT")