Re: [Speedycgi-users] compile for Mac OS X ?
Brought to you by:
samh
|
From: Sam H. <sa...@da...> - 2002-09-22 21:42:48
|
Looks like the problem is a bug in the Mac OS X sigpending() system call. It looks like it's fixed in OS X 10.2. The 10.2 release notes (http://developer.apple.com/technotes/tn2002/tn2053.html) say: A problem where the routine sigpending() was not returning the pending signals in the sigset_t pointed to by its parameter has been corrected. (r. 2831405). I've put a workaround into the SpeedyCGI code, and with that I was able to do a successful "make test" on OSX 10.1. You can get the workaround from the SpeedyCGI cvs tree, or manually patch the 2.20 code as follows: - Edit src/speedy_sig.c - Find the line: if (sigpending(&set) == -1) - Right *before* this line, insert: sigemptyset(&set); Since sigpending on MacOSX is essentially a no-op, if we clear out the signals first, then we get no pending signals, and we don't get stuck in sigsuspend(). > > Hi > > Does anybody know of a successful port of SpeedyCGI to MacOSX ? > > I could compile the source on OSX , but it stops functioning after a few > invocations. > > (locking or threading problem?) > > tnx > > ~henq > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber - The world's fastest growing > real-time communications platform! Don't just IM. Build it in! > http://www.jabber.com/osdn/xim > _______________________________________________ > Speedycgi-users mailing list > Spe...@li... > https://lists.sourceforge.net/lists/listinfo/speedycgi-users |