[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2029.0. "starting a process through MCC - Ultrix & VMS" by MICROW::LANG () Mon Jan 06 1992 13:09

             I'm writing an AM which needs to startup a detached server process.
             This will be supported on both Ultrix and VMS.

             I was looking at the mcc_ultrix conference about starting
             processes.  Note 11.4 lists mcc_lib_detach for starting
	     a detached process, but note 11.1 says to see Pete Burgess
	     for an interface if an MM needs to fork a process.

	     Can I use mcc_lib_detach, or do I need to contact Pete for
	     another interface.

			thanks,

				Bonnie

T.RTitleUserPersonal
Name
DateLines
2029.1TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Mon Jan 06 1992 17:582
    That info is old.   Use mcc_lib_detach or cma_fork.
    
2029.2mcc_lib_detach supported on VMS?MUNDRA::MUNDRATue Jan 21 1992 17:576
There was a time when mcc_lib_detach was not supported on VMS, but there were
plans to do so.  Is mcc_lib_detach now supported for VMS?

Thanks,

Satinder
2029.3TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Tue Jan 21 1992 19:3419
    
    It's not "really" supported on either platform (i.e., it's not in
    the SRM and is not planned to be).
    
    mcc_lib_detach is an unsupported routine that had to be invented
    to hide the interactions between CMA and fork on Ultrix.
    
    Now that CMA has added a wrapper to fork that does the same stuff,
    we don't really need mcc_lib_detach anymore.  
    
    It was never needed on VMS since subprocess startup doesn't involve
    either MCC or CMA.
    
    Yes you could argue that mcc_lib_detach would provide a nice portable
    way of starting another process on either platform and hence we should 
    support it, but there are plenty of other system services that could
    use the same kind of jacket and we have enough trouble around here
    doing Enterprise Management without getting into supplying generic
    portable OS interfaces.