1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

7 Commits

Author SHA1 Message Date
Jeremy Allison
37d190817e Always increment even if the read fails (otherwise we spin if we hit the kernel bug...).
Jeremy
(This used to be commit d388dfa53b3a7a2dcce6d5591531d6ade0cbab62)
2001-02-23 00:46:28 +00:00
Jeremy Allison
ffa09ecfc1 lib/select.c: Fix for Linux 2.0.x kernel that causes select to return true on a pipe
and then a blocking read to fail. Make the pipe read/write non blocking.
printing/printing.c: Added a mutex around the code that enumerates all the jobs in a
                    print queue. Allows only one smbd to be doing this at any one time.
                    This fixes a capacity problem discovered at HP with <10,000 jobs in
                    a print queue.
Jeremy.
(This used to be commit 0d3ae603a2b86d476458ee2a7d4f7d22636c3f66)
2001-02-22 17:39:36 +00:00
Andrew Tridgell
9770a81363 save and restore errno in select
(This used to be commit 34f0379096d0701c74a51c51649ffe4cb1a24291)
2000-11-17 01:05:50 +00:00
Andrew Tridgell
55c3abe3f2 fixed a race in the pipe() setup in sys_select()
(This used to be commit bb0f769272d8a8bd527053746b468bca797e1663)
2000-09-12 07:24:06 +00:00
Andrew Tridgell
a7b5b10a0a fixed two minor bugs in new sys_select()
(This used to be commit 5afc5f503144c81ebc6139719fd88335fd30f4ad)
2000-06-21 12:14:51 +00:00
Jeremy Allison
5e06151e4d Paranoia changes to ensure that anything touched by a signal handler
and the main code is declared as VOLATILE SIG_ATOMIC_T.
Jeremy.
(This used to be commit b737c784e34b0e1af014cb828ef37d5b6d73c3e2)
2000-06-19 21:30:27 +00:00
Andrew Tridgell
5dc618460d forgot to checkin select.c
(This used to be commit 719bc2f130393a55058f5c45ca6fbd30a78de2dc)
2000-06-13 03:29:36 +00:00