niemandkun / adddxdx

Simple OpenGL application.
GNU General Public License v3.0
1 stars 0 forks source link

Reactor subsystem #4

Open niemandkun opened 7 years ago

niemandkun commented 7 years ago

Implementation of task system is needed.

Need to implement own system or wrap Java default thread pool / Kotlin coroutines.

Ps. Don't use callbacks (pls, no).

BrittleFoot commented 7 years ago

Currently main idea is to implement CompletionStage interface with wrapped java's CompletableFuture functionality with some mainloop synchronization mechanism.

niemandkun commented 6 years ago

Still need to integrate SyncFuture into main loop.