*BSD News Article 71686


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!Germany.EU.net!howland.reston.ans.net!nntp.coast.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!uuneo.neosoft.com!mypc
From: conrads@neosoft.com (Conrad Sabatier)
Newsgroups: comp.unix.bsd.freebsd.misc,news.software.readers
Subject: mthreads for trn (FreeBSD)
Date: Sat, 22 Jun 96 01:00:18 GMT
Organization: What?  Me, organize?
Lines: 17
Message-ID: <4qfgj2$17s_002@mypc.neosoft.com>
NNTP-Posting-Host: 206.27.165.130
X-Newsreader: News Xpress 2.0 Beta #1
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:21855 news.software.readers:27975

This looks like just the thing to cure my problem with trn and its excessive 
rereading of the remote active file.  Only problem is, I'm not good at this 
porting business.  I downloaded the mthreads-3.1.tar.gz, tried to install 
it, but I get a compile error.  Seems mthreads.c is calling "setpgrp", 
whereas the FreeBSD libraries have replaced this routine with "setpid".
As the two functions are completely different in the parameters they expect, 
I have no idea how to proceed.

I assume this is commonly encountered in porting apps to FreeBSD.  So, 
what's the fix for this?

Better yet, does anyone have a port, or know where I could find one?

Thanks.

-- 
Conrad Sabatier -- http://www.neosoft.com/~conrads/