Improve CLEventList design and fix CLEvent.setEventCallback.
authorNot Zed <notzed@gmail.com>
Sun, 26 Jan 2020 07:39:09 +0000 (18:09 +1030)
committerNot Zed <notzed@gmail.com>
Sun, 26 Jan 2020 07:39:09 +0000 (18:09 +1030)
commit0549e1ddc30b927358c33f0b676544c218176509
treed53bc34ca546c6f9cf5c2ae4ccf2524b493cc600
parent12359a375d629c39dd8844ab7fd5e05e8d7d6fea
Improve CLEventList design and fix CLEvent.setEventCallback.
Now uses a MemorySegment directly to read/write events, bypassing Java
unless necessary.
Added tests.
src/notzed.zcl/classes/au/notzed/zcl/CLCommandQueue.java
src/notzed.zcl/classes/au/notzed/zcl/CLEvent.java
src/notzed.zcl/classes/au/notzed/zcl/CLEventList.java
src/notzed.zcl/tests/au/notzed/zcl/CLEventTest.java [new file with mode: 0644]