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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user