pysipp icon indicating copy to clipboard operation
pysipp copied to clipboard

Support for OS X

Open ydinari opened this issue 9 years ago • 7 comments

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

ydinari avatar Jun 16 '16 08:06 ydinari

I can think of two ways:

  • use select.select.
  • detect BSD at import time and use a select.kqueue

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 avatar Jun 17 '16 16:06 goodboy

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

goodboy avatar Jun 17 '16 16:06 goodboy

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

vodik avatar Jun 17 '16 17:06 vodik

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

vodik avatar Jun 17 '16 17:06 vodik

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

goodboy avatar Jun 17 '16 22:06 goodboy

@ydinari any luck trying that branch?

goodboy avatar Jul 21 '16 15:07 goodboy

Earth to @ydinari?

goodboy avatar Aug 02 '16 19:08 goodboy