Title: | Alpha Developer Support |
Notice: | [email protected], 800-332-4786 |
Moderator: | HYDRA::SYSTEM |
Created: | Mon Jun 06 1994 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3722 |
Total number of notes: | 11359 |
Company Name : Seagate Software Contact Name : Hugh Spinks Phone : 1-919-405-2612 Fax : Email : Date/Time in : 6-FEB-1997 16:16:36 Entered by : Donna Van Orden SPE center : MRO Category : VMS OS Version : System H/W : Brief Description of Problem: ----------------------------- This is a continuation of a problem Hugh was working with Marvin Davis. Hugh is porting from Digital UNIX to OpenVMS, and is not familiar with OpenVMS. His C code originally used vfork to creak a new process, but he was having problems with this on OpenVMS. It was suggested to him to switch to lib$spawn. Problem: He is not familiar with lib$spawn, and all of the examples he can find are written in fortran. He is getting access violations when attempting to use it. Donna VO
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3160.1 | HYDRA::VANORDEN | Thu Feb 06 1997 16:58 | 30 | ||
Chuck said chances are he is trying to pass the text srings by value, instead of by descriptor. I called and left Hugh voicemail, pointing him to sys$examples for examples of passing by descriptor. If Hugh calls, we can send him the following: Donna VO From: SEURAT::NEWMAN 6-FEB-1997 16:48:50.42 To: HYDRA::VANORDEN CC: Subj: Help for setting up a descriptor in C on OpenVMS This was extracted from SYS$EXAMPLES:READ_WRITE_TERMINAL.C from an OpenVMS V6.2 system: #include <descrip.h> /* Descriptor Structure and Constant Definitions */ $DESCRIPTOR (tt_desc, "SYS$INPUT"); /* Terminal Descriptor */ status = sys$assign ( /* Assign channel using logical name */ &tt_desc, /* device descriptor for SYS$INPUT */ &tt_chan, /* channel number */ 0, /* default access mode */ 0); /* No mailbox */ | |||||
3160.2 | HYDRA::AXPDEVELOPER | Alpha Developer support | Fri Feb 21 1997 16:33 | 8 | |
Hugh called back and wanted to get some information about how to determination the termination status of the spawned process. I check with Chuck and he recommended that he check the completion status address, and also pass it in as an argument to the ast call so there isn't a problem with asynchrnous updates on the completion address. Gerrit | |||||
3160.3 | HYDRA::VANORDEN | Thu Mar 20 1997 17:33 | 9 | ||
I called to check in on Hugh. He said this particular problem was resolved (although they are working several other issues). OK to close this call. Just as a side note, Hugh expressed how satisfied he was with the great support and documentation provided by everyone. Donna |