fa9be0842f5b1cace33cccf3d35e2c071ee702cb |
|
20-Nov-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Add some C code for exposing the sem_* functions in Linux necessary for using named semaphores. There have been several occasions where something like (a cross-process semaphore) this would've been useful (e.g. limiting the total number of SSHHost.__copy_file methods running from a single server) and so I wrote up a C extension to expose the necessary functions. This ended up being unnecessary, however since they may end up being useful in the future anyway I'm going to put this into the utils/ for now, rather than just throwing it away. It still needs some work before being integrated into the autotest library. From: John Admanski <jadmanski@google.com> Signed-off-by: Martin Bligh <mbligh@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@2474 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/utils/named_semaphore/setup.py
|