[714] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

pthreasds vs. the old lwp library

daemon@ATHENA.MIT.EDU (Ken Johnson)
Tue Aug 26 18:36:30 1997

Date: Tue, 26 Aug 1997 15:01:23 -0700 (PDT)
From: Ken Johnson <kbj@risc.rockwell.com>
To: pthreads@MIT.EDU

I recently undertook the long task of porting a whole load of SW
from solaris 1 to solaris 2.5.1.  Wouldn't you know my friends
at sun changed the stinking operating system so my old libraries 
and there are LOTS of them all needed to be recompiled.  One of these
used the old light weighrt process library.  Now I get to learn pthreads.

I am trying unsuccessfuly to mimic five functions from the old lwp with
pthreads.  I can't quite get it to work.  ANy thoughts?

lwp_create -> Got this one ok
lwp_resume -> Can't for the life of me figure out how to fake this
lwp_yield -> I'd really like this one too
lwp_destroy -> I figure this is pthread_kill

This is part of a very involved event driven simulator and I really don't have
time to fiddle.

Any healp is appreciated.

Thanks


home help back first fref pref prev next nref lref last post