As of now, I tried two modules IPC::Shareable and forks::shared to share the objects but I didn't get any luck so far.
What happens with those modules is,
* IPC::Shareable : Once the object is created, IPC::Shareable causes something to call Linux::Inotify2->DESTROY which closes the file handle.
* forks::shared : Some capabilities in the object are lost. For ex, the fd returns *empty*
Can anyone pls tell how to share Linux::Inotify2 and Linux::Inotify2::Watch objects without losing capabilities?
In reply to Threaded Linux::Inotify2 by pbrthemaster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |