Fraunhofer-IIS / libjapi

libjapi is a universal JSON to C API library. It receives newline-delimited JSON (NDJSON) messages via TCP and calls registered C functions. A JSON response is returned for each request. Furthermore, it is also possible to create push services, which asynchronously push JSON messages to the clients subscribed to them.
MIT License
3 stars 1 forks source link

provide non-blocking JAPI server thread #41

Open fraunhofer-iis-bot opened 2 years ago

fraunhofer-iis-bot commented 2 years ago

In GitLab by @cstender on Dec 30, 2021, 11:18

The current implementation requires the user to call the blocking japi_start_server function in order to start the JAPI server. A thread-based non-blocking implementation shall be provided as well.

e.g. japi_start_server_thread

Caution: proper methods to stop the JAPI server thread need to be implemented as well!