🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2495

Re: questions on os/2

#2495
From: (the) IBMMAN
Date: Fri, 29 Mar 1991 14:16
24 lines
1558 bytes
From article <39443@ubvax.UB.Com>, by yeh@ubvax.UB.Com (David Yeh):
>    1. Is there any way to kill an OS/2 process which is currently blocking?
>       I have tried the following methods but they all failed:
>       a. close the window;
>       b. using "kill" in ps utility;
>       c. using DosKillProcess().

We have a utility called KILL.EXE which simply calls DosKillProcess.  It
has never failed for me.

>    2. Is there any function calls in OS/2 performing exactly the same
>       functionality as "fork()" does in UNIX? I have used DosExecPgm(),
>       spawn(), but the child process they created did not really inherit
>       everything its parent process has.

I have never heard of one, and I think it would be extremely difficult to
write one due to the fact that there can be multiple data segments.  I'm
not typically a Unix programmer, but if I recall properly (correct me if I'm
wrong) fork()'s children inherit everything from the parent including their
very own copy of the data block (and if you order now, we'll throw in a
free disk pack... ;) .

Cheers,
Q
Technical Details
Message-ID: <1991Mar29.141629.9239@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!mvb.saic.com!ncr-sd!ncrcae!hubcap!news
References: <39443@ubvax.UB.Com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!mvb.saic.com!ncr-sd!ncrcae!hubcap!news
From: ibmman@eng.clemson.edu ((the) IBMMAN)
Newsgroups: comp.os.os2.programmer
Subject: Re: questions on os/2
Message-ID: <1991Mar29.141629.9239@hubcap.clemson.edu>
Date: 29 Mar 91 14:16:29 GMT
References: <39443@ubvax.UB.Com>
Sender: news@hubcap.clemson.edu (news)
Organization: Clemson University
Lines: 24