summaryrefslogtreecommitdiffstats
path: root/source3/lib/select.c
Commit message (Collapse)AuthorAgeFilesLines
* r7440: * merge registry server changes from trunk (so far) for moreGerald Carter2007-10-101-2/+5
| | | | | | | printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync (This used to be commit a112c5570a7f8ddddde1af0fa665f40a6067e8cf)
* r6090: Patch to fix sys_select so it can't drop signals if another fdJeremy Allison2007-10-101-9/+17
| | | | | | | is ready to read. Patch from Mark Weaver <mark-clist@npsl.co.uk>. The only question is, how did we miss this for so long..... :-). Jeremy. (This used to be commit fb4052ce3a5e585897e478092a7ab5a2ec83e37b)
* r4545: Fix based on work by Derrell.Lipman@UnwiredUniverse.com :Jeremy Allison2007-10-101-4/+26
| | | | | | | | | | * In an application with signals, it was possible for functions to block indefinitely while awaiting timeouts. This patch ensures that if a system call with a timeout is aborted and needs to be restarted, it is restarted with a timeout which is adjusted for the amount of time already waited. Jeremy. (This used to be commit 3a0d426764ab8bac561a47329500a03a52a00fa3)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-14/+14
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Stomped on some header file version numbers that have crept back in.Tim Potter2002-03-221-2/+1
| | | | (This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
* Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison2002-01-311-22/+54
| | | | | | | processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy. (This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Spelling fix.Tim Potter2002-01-101-1/+1
| | | | (This used to be commit 85d3ffb2709258e576191adade9c61b11e83eec5)
* Always increment even if the read fails (otherwise we spin if we hit the ↵Jeremy Allison2001-02-231-1/+4
| | | | | | | kernel bug...). Jeremy (This used to be commit d388dfa53b3a7a2dcce6d5591531d6ade0cbab62)
* lib/select.c: Fix for Linux 2.0.x kernel that causes select to return true ↵Jeremy Allison2001-02-221-0/+15
| | | | | | | | | | | | 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)
* save and restore errno in selectAndrew Tridgell2000-11-171-1/+5
| | | | (This used to be commit 34f0379096d0701c74a51c51649ffe4cb1a24291)
* fixed a race in the pipe() setup in sys_select()Andrew Tridgell2000-09-121-1/+1
| | | | (This used to be commit bb0f769272d8a8bd527053746b468bca797e1663)
* fixed two minor bugs in new sys_select()Andrew Tridgell2000-06-211-5/+5
| | | | (This used to be commit 5afc5f503144c81ebc6139719fd88335fd30f4ad)
* Paranoia changes to ensure that anything touched by a signal handlerJeremy Allison2000-06-191-1/+1
| | | | | | and the main code is declared as VOLATILE SIG_ATOMIC_T. Jeremy. (This used to be commit b737c784e34b0e1af014cb828ef37d5b6d73c3e2)
* forgot to checkin select.cAndrew Tridgell2000-06-131-0/+107
(This used to be commit 719bc2f130393a55058f5c45ca6fbd30a78de2dc)