1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

Linux kernel oplocks now seem to work, but need a _lot_ of testing

I had to modify sys_select() to not loop on EINTR. I added a wrapper
called sys_select_intr() which gives the old behaviour.
This commit is contained in:
Andrew Tridgell
-
parent 1871d4a3f6
commit b28cc4163b
16 changed files with 166 additions and 79 deletions

View File

@@ -728,7 +728,7 @@ void msleep(int t)
FD_ZERO(&fds);
errno = 0;
sys_select(0,&fds,&tval);
sys_select_intr(0,&fds,&tval);
GetTimeOfDay(&t2);
tdiff = TvalDiff(&t1,&t2);