SIPp / pysipp

SIPp for Humans - launch multiple agents with Python
GNU General Public License v2.0
179 stars 55 forks source link

Support for OS X #16

Open ydinari opened 8 years ago

ydinari commented 8 years ago

Need to change use of select.epoll (in launch.py) with select.select() (I think), because epoll is only supported on linux.

goodboy commented 8 years ago

I can think of two ways:

I tried the former but it won't really work for detecting SIPp process completion since each subproc writes extensively to stderr/stdout, plus, I don't think we'll be able to do async launching the same way since you can't pre-register fds.

I have no experience with the latter and don't have a BSD machine to test on.

@vodik got any other ideas? @ydinari If you'd like to take a try at using the latter that would be handy for sure :)

goodboy commented 8 years ago

Just a thought - after we bring in the py3 support (#15) we could just use asyncio?

vodik commented 8 years ago

@tgoodlet I have no problem with that so long as you're cool being python3 only.

vodik commented 8 years ago

@tgoodlet Oh, without asyncio, just use select.select, its going to work just fine.

goodboy commented 8 years ago

@ydinari Can you give #17 a try and let me know if it works for you? Thanks!

goodboy commented 8 years ago

@ydinari any luck trying that branch?

goodboy commented 8 years ago

Earth to @ydinari?