savonet / ocaml-posix

Bindings to the various POSIX APIs
https://www.liquidsoap.info/ocaml-posix/
MIT License
27 stars 2 forks source link

posix-semaphore #8

Open UnixJunkie opened 1 year ago

UnixJunkie commented 1 year ago

Maybe you can take inspiration from: https://github.com/mwweissmann/ocaml-posix-semaphore/

toots commented 1 year ago

I'd love to add more posix APIs to this package. Would you like to try to contribute a PR for this?

UnixJunkie commented 1 year ago

I have other things to concentrate on. Also, I don't like the interface with polymorph variants from mwweissmann. His bindings are broken for ocaml-5 currently so I was looking for an alternative.

toots commented 1 year ago

I understand. Same here, i contribute to these bindings as time allows. If the need is strong feel free to ask for pointers, the idea of this project is to make it easy to add support for more APIs.