()
| 26 | private final GlfwCallback c; |
| 27 | |
| 28 | private Windows() { |
| 29 | |
| 30 | RunLoop.main.getLoop() |
| 31 | .attach(-2, this::events); |
| 32 | |
| 33 | glfwInit(); |
| 34 | |
| 35 | c = makeCallback(); |
| 36 | // glfwSetCallback(c); |
| 37 | |
| 38 | |
| 39 | mainClassLoader = Thread.currentThread() |
| 40 | .getContextClassLoader(); |
| 41 | |
| 42 | |
| 43 | Log.log("startup.debug", () -> "main thread is :" + Thread.currentThread()); |
| 44 | } |
| 45 | |
| 46 | |
| 47 | Deque<Runnable> events = new ConcurrentLinkedDeque<>(); |
| 48 | |
| 49 | protected boolean events(int p) { |
nothing calls this directly
no test coverage detected