X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=README.md;h=389c40e59be25130c4e63af75cc43f13933603a5;hb=HEAD;hp=c26fe8eff066a72973f84edd6b152a8b1ddb7548;hpb=985f97aabdb9f8d24dba438e5b6472a101eeea5d;p=cl-inotify.git diff --git a/README.md b/README.md index c26fe8e..389c40e 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,8 @@ Macros make keeping track easier, so the following example is straightforward: > (with-inotify (inotify T ("." :all-events)) - > (loop (format T "~{~A~%~}" (next-events inotify)))) + > (do-events (event inotify :blocking-p T) + > (format T "~A~%" event))) > => > #S(CL-INOTIFY::INOTIFY-EVENT :WD 1 :MASK (CREATE) :COOKIE 0 :NAME .zshist.LOCK) > #S(CL-INOTIFY::INOTIFY-EVENT :WD 1 :MASK (OPEN) :COOKIE 0 :NAME .zshist) @@ -186,6 +187,9 @@ only adds the `WATCHED` slot under the same `CONC-NAME`. fd-streams everywhere, or skip them entirely) - (maybe) don't use the libc for this, direct syscall - (maybe) add iolib replacement for io functions +- the nonblocking mode is pretty useless, because for one the READ + functions still block and also LISTEN seems to work just fine and it's + not even needed for multiplexing, so why keep this in? [1]: https://github.com/Ferada/binary-types [2]: http://www.cliki.net/Binary-types