At 08:11 PM 5/29/01 -0500, Ian Bicking wrote:
> >          - restart app
>
>I think this should just be a call to system() anyway, though I
>suppose you could wrap that in a function for later change.  But I
>don't think that's necessary -- you only need one level of
>abstraction.

Except that on Windows you'll probably need to use CreateProcess instead of 
system.  That right there argues for its inclusion in a library.

Also on Windows, sockets appear to return different error codes and may 
need subtly different handling...

By sharing stuff like this that we won't have to make the same fixes in 2 
places.  Already I want to fix up the retry logic in Adapter.py, and 
someone (possibly me) will also have to make a similar fix in 
mod_webkit.c.  I don't want to have to fix the retry logic in a separate 
CAdapter.c (or whatever) also.  The marshaling code and the whole "transact 
with app server" cycle seems like it should go into a library since that's 
the same no matter what adapter you're using.


--

- Geoff Talvola
   [EMAIL PROTECTED]

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to