Hi,
  I am writing a plugin that creates a thread at plugin-open time. But
when I start ovpn as a daemon the ovpn code doesn't know that thread.
The reason is obviously the timing of the thread-creation being
earlier than the daemon() call that forks off a child which will not
know the threads created by its parent. So does this mean then that
the ovpn daemon infrastucture will only work with plugins that don't
do threading of their own?
Or is there a workaround whereby I can get my plugin open to happen
during the OPENVPN_PLUGIN_INIT_POST_DAEMON phase? If so, can anyone
help me on how to do so?

Thanks a lot,

Vineet
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to