Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!bywater!arnor!ibmman!larrys From: larrys@watson.ibm.com Newsgroups: comp.os.os2.programmer Subject: Re: Porting from Unix to OS/2 Message-ID: <1991Jun21.144327.18895@watson.ibm.com> Date: 21 Jun 91 15:41:41 GMT References: <3126@public.BTR.COM> Sender: larrys@ibmman Reply-To: larrys@ibmman Organization: IBM Research Lines: 24 News-Software: NewsKit 1.2 - LaMail Nntp-Posting-Host: ibmman2 In <3126@public.BTR.COM>, car@public.BTR.COM (Carlos Rimola-Sarti car@btr.com) writes: > >One of the first things that I had to decide was what to do about >the Unix fork() call. The application makes use of fork to spawn off >background processes. The "right" thing to do is probably to redesign >the app to use threads instead of fork(). However, the app will be >thrown away and I only needed to verify that the other pieces are >working. Because of this, I thought that moving the application to >OS/2 would be made a lot easier if I could emulate fork. You're creating more trouble than you would be saving by not redesigning the application. I thought I read (some time ago) that one of the Unix companies (MKS?) wrote a fork() for OS/2, but I can't remember for sure. Cheers, Larry Salomon, Jr. (aka 'Q') LARRYS@YKTVMV.BITNET OS/2 Applications and Tools larrys@ibmman.watson.ibm.com IBM T.J. Watson Research Center larrys@eng.clemson.edu Yorktown Heights, NY Disclaimer: The statements and/or opinions stated above are strictly my own and do not reflect the views of my employer. Additionally, I have a reputation for being obnoxious, so don't take any personal attacks too seriously.