lib/select.c: Fix for Linux 2.0.x kernel that causes select to return true on a pipe
commit0d3ae603a2b86d476458ee2a7d4f7d22636c3f66
authorJeremy Allison <jra@samba.org>
Thu, 22 Feb 2001 17:39:36 +0000 (22 17:39 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 22 Feb 2001 17:39:36 +0000 (22 17:39 +0000)
treecb6b3ae22537f2c7a6d7daf2ca71f9a0388f5148
parent5aed6bf227e9a83eab810560a21dca0c96d14dcf
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.
source/lib/select.c
source/printing/printing.c