Update comment for pa_lock_fd() to reflect that locks are mandatory

on Windows.


git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@431 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-01-09 16:59:12 +00:00
parent 160d886c0d
commit d3cb1448b4

View file

@ -810,7 +810,8 @@ int pa_uid_in_group(const char *name, gid_t *gid) {
#endif #endif
/* Lock or unlock a file entirely. (advisory) */ /* Lock or unlock a file entirely.
(advisory on UNIX, mandatory on Windows) */
int pa_lock_fd(int fd, int b) { int pa_lock_fd(int fd, int b) {
#ifdef F_SETLKW #ifdef F_SETLKW
struct flock flock; struct flock flock;