EIO: handling open/close

Aaron Boxer boxerab at gmail.com
Mon Jul 18 14:17:26 CEST 2011


I would like to use EIO for both opening and closing files.
Can anyone proffer advice on how to handle this situation:

1) client A requests file FOO
2) server makes EIO open request on FOO
3) client A is finished with FOO - server makes EIO close request
4) before FOO is closed, client B requests FOO

Same scenario with open and close reversed.

Any ideas would be greatly appreciated.



More information about the libev mailing list