Xref: utzoo comp.sys.ibm.pc:28768 comp.sys.amiga:33775 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun-barr!texsun!texbell!killer!csccat!jack From: jack@csccat.UUCP (Jack Hudler) Newsgroups: comp.sys.ibm.pc,comp.sys.amiga Subject: Re: OS/2 vs AmigaDOS Keywords: Operating Systems, Religion WRT computers Message-ID: <2762@csccat.UUCP> Date: 13 May 89 16:50:59 GMT References: <2134@iitmax.IIT.EDU> <5625@microsoft.UUCP> <917@mks.UUCP> <9616@watcgl.waterloo.edu> <925@mks.UUCP> Reply-To: jack@csccat.UUCP (Jack Hudler) Organization: Computer Support Corporation. Dallas,Texas Lines: 39 In article <925@mks.UUCP> alex@mks.UUCP (Alex White) writes: >In article <9616@watcgl.waterloo.edu> bmacintyre@watcgl.waterloo.edu (Blair MacIntyre) writes: >>In article <917@mks.UUCP> alex@mks.UUCP (Alex White) writes: >>>In article <5625@microsoft.UUCP> w-glenns@microsoft.UUCP (Glenn Steffler) writes: >>>>OS/2 is a business oriented OS, with extensive network capabilities, in >>>>addition to a rich and quite overwhelming array of multitasking >>>>primatives. OS/2 has memory, and resource protection, vital for multiple >>>Overwhelming array of multitasking primitives? >>>You've got to be kidding. >>>You're right -- it has more than are ever likely to be needed, but >>>it doesn't have standard simple ones like fork(). >> >>I hate to disappoint you, but fork() is not what most people would >>consider a "standard multitasking primitive". It is a Unix'ism designed > >Great. >Ok, how do I do it without fork? >DosExecPgm has a lot of options, but it doesn't have an array of >open file descriptors to pass to the child. You have to go to grotesque >contortions of dup'ing and moving file descriptors around, setting close- >on-exec bits in order to set the child's file descriptors up the way you >want. (You CAN however do it) >It doesn't have an array of signal settings to set up default signals >for the child. (You CAN'T do this properly) Perhaps you need to redefine your concept of multitasking? The implementation of multi-tasking under OS/2 is the 'thread', it very powerful, provided you alter your concept. Our PM app uses threads, and I must say it was more difficult to implement our app using 'fork', however it does work using this primitive form of multitasking. Jack -- Classic Quotes from STNG: "Pen Pals" Picard: Her society is aware .. that there is intersteller life? Data: No Sir. Picard: Oooops..