Last active
May 6, 2020 20:05
-
-
Save deeev-sb/7748b76c9a7b45989d79322b85b91fda to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <fcntl.h> | |
int flock(int fd, int operation); | |
// operation은 어떤 lock을 걸지에 대한 것으로 | |
// LOCK_SH, LOCK_EX, LOCK_UN이 있음 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment