Quoting Jan Kiszka (jan.kis...@siemens.com): > On 2012-07-09 19:28, Serge Hallyn wrote: > > Quoting Jan Kiszka (jan.kis...@siemens.com): > >> Allow to specify a timeout for waiting on state changes via lxc-wait. > >> Helpful for scripts that need to handle errors or excessive delays in > >> state changing procedures. > > > > Hi, > > > > in our lxc-api tree > > (https://code.launchpad.net/~ubuntu-lxc/ubuntu/quantal/lxc/lxc-api-and-python/) > > I've added changed src/lxc/state.c:lxc_wait() to take an optional > > timeout value (0 means don't wait, -1 means wait forever), and use > > select, to implement wait with timeout. It is only used by our > > lxc_container->wait, not by src/lxc/lxc_wait.c which in our tree > > passes in -1 to wait forever. Ideally our patches would be combined. > > No problem, I can base mine on top of yours. Did you post it already?
No I hadn't posted mine yet. Until the API goes in it didn't have a user... Sorry, I think I was being silly. Let's ignore what I said before. Let's push your patch for now and I'll just have yours use mine if/when mine goes up. Acked-by: Serge E. Hallyn <se...@hallyn.com> thanks, -serge ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel