Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

how do FIFOs work? #9

Open
anarcat opened this issue May 22, 2018 · 2 comments
Open

how do FIFOs work? #9

anarcat opened this issue May 22, 2018 · 2 comments

Comments

@anarcat
Copy link
Contributor

anarcat commented May 22, 2018

I read in the README and the design document that there are FIFOs setup in the .smd directory. Yet it's unclear how they can be operated by the user. I assume that the gnome applet might use those, but I'm wondering if I could use those sockets to make smd-loop wake up early for example .... In OfflineIMAP, i would send it SIGUSR to force a refresh now, for example.

@gares
Copy link
Owner

gares commented May 23, 2018

No, fifos are for internal use only.

What I do to force a pull now is to invoke smd-pull by hand. There are lock files, so it won't mess things up.

@anarcat
Copy link
Contributor Author

anarcat commented May 23, 2018

No, fifos are for internal use only.

It would still be useful to have documentation on how they work, say I wanted to implement some contrib plugin for my own status bar or something... Maybe in the design docs?

What I do to force a pull now is to invoke smd-pull by hand. There are lock files, so it won't mess things up.

Ah yes, good point, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants