bytedeco/javacpp

Attach as Daemon

Open

#236 opened on May 2, 2018

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Java (4,279 stars) (620 forks)batch import
help wantedquestion

Description

I'd like for the JNI code to attach as a daemon thread. This will allow my applications to cleanly exit when using the hack provided #143. It will also be useful when I finish my bindings for Decklink, which will likely be function pointer based. Does anyone foresee an issue with doing this? I'd be happy to put up a pull request and test it with my build of FFmpeg later this week.

See this line in the generator.

Contributor guide