Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Substitute EventLoop for PollScheduler. | Zac Medico | 2012-10-05 | 1 | -5/+5 |
| | | | | | EventLoop suffices for all of these cases. EventLoop(main=False) is used for thread safety where API consumers may be using threads. | ||||
* | LockNonblockTestCase: close_fds tweak | Zac Medico | 2012-03-27 | 1 | -1/+4 |
| | | | | Make consistent with commit 144c23efbb4e9565debad03c13c5bcab833a8336. | ||||
* | tests/locks: save/restore global env state | Zac Medico | 2011-12-14 | 2 | -0/+15 |
| | | | | | This ensures that global __PORTAGE_TEST_HARDLINK_LOCKS overrides work correctly for all tests. | ||||
* | locks.py: fix hardlink locks for bug #394195 | Zac Medico | 2011-12-13 | 2 | -5/+55 |
| | | | | | | This updates the hardlink locking code to support the non-blocking, lockfile(wantnewlockfile=False), and lockfile(file_object) behaviors which are used by portage code. | ||||
* | Use portage.shutil for safer unicode handling. | Zac Medico | 2011-12-10 | 2 | -2/+2 |
| | |||||
* | Test noblocking locks. | Zac Medico | 2011-06-08 | 1 | -0/+46 |
| | |||||
* | Fix typos in comments. | Arfrever Frehtes Taifersar Arahesis | 2011-05-18 | 1 | -3/+3 |
| | |||||
* | test_asynchronous_lock: simulate SIGINT from tty | Zac Medico | 2011-05-17 | 1 | -1/+33 |
| | |||||
* | AsynchronousLock: implement _poll() and test | Zac Medico | 2011-05-17 | 1 | -0/+2 |
| | |||||
* | test_asynchronous_lock: test returncode more | Zac Medico | 2011-05-17 | 1 | -4/+8 |
| | |||||
* | test_asynchronous_lock: test wait and cancel | Zac Medico | 2011-05-17 | 1 | -0/+22 |
| | |||||
* | test_asynchronous_lock: test waiting | Zac Medico | 2011-05-17 | 1 | -0/+25 |
| | |||||
* | AsynchronousLock: use subprocess if no threads | Zac Medico | 2010-10-21 | 1 | -3/+13 |
| | |||||
* | Add a new AsynchronousLock class that uses the portage.locks module to | Zac Medico | 2010-09-13 | 3 | -0/+31 |
acquire a lock asynchronously, using a background thread. |