ImmutableOctet / glare

Glare: Open Source Game Engine written in Modern C++
MIT License
0 stars 0 forks source link

Implement the ability to start Entity Threads from C++ script threads #71

Open ImmutableOctet opened 6 months ago

ImmutableOctet commented 6 months ago

This would be for both ES and C++ threads. On the C++ side, we could support arbitrary function objects and coroutines/fibers.

ImmutableOctet commented 4 months ago

This is now implemented for:

We currently need safety issues like #78 to be resolved, as well as #79 to be completed in order to close this.

ImmutableOctet commented 4 months ago

start_thread and start_script now work with thread ID/name hashes, Script type as template parameter, and Script instance as entry-point. Last item would be #78 to close this out.