home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / informix / 3077 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.3 KB  |  29 lines

  1. Newsgroups: comp.databases.informix
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!nntp.barrnet.net!nntp.pactel.com!eric
  3. From: eric@nit.pactel.com (Eric Pederson)
  4. Subject: Re: ESQL/C -- sqlturbo and sqlexit()
  5. Message-ID: <C1Horv.1MH@nit.pactel.com>
  6. Organization: Pac*Tel Corporation
  7. References: <FORNEY.93Jan19085549@vega.bsdsun> <1993Jan21.090631.17764@pyra.co.uk>
  8. Date: Wed, 27 Jan 1993 01:44:35 GMT
  9. Lines: 18
  10.  
  11. It seems that sqlexit() in ESQL/C version 4.x is doing a blocking
  12. wait() instead of a waitpid() or a non-blocking wait3() or wait4().
  13. If I want to sqlexit() before my other children have died, then the sqlexit()
  14. hangs.  Also, while it is hanging, I do a "ps" and find that sqlturbo is
  15. *still* running.  Isn't it supposed to wait() *after* the kill?  If (while it
  16. is hanging) I kill my application with a SEGV signal, I get the following in 
  17. an "adb" traceback:
  18.  
  19. _wait4(?)
  20. __DYNAMIC(0xefffe22c,0x0,0x2a9400,0x2,0x10,0x0)    + 4
  21. _killbackend(0x5035,0x0,0x0,0x10,0x2b2a68,0xc) + 34
  22. _sqlexit(0x1,0x1f,0xefffe318,0x2c38d0,0xef7ea760,0x1) +    4
  23.  
  24. Is this fixed in version 5.0 or is there a way around using sqlexit()
  25. to stop the sqlturbo process when you are finished with ESQL?
  26. -- 
  27. Eric Pederson                                       Pac*Tel Corporation
  28. eric@nit.pactel.com                                        510-210-8890
  29.