From owner-freebsd-hackers Fri Sep 8 9:51:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id A888437B423 for ; Fri, 8 Sep 2000 09:51:19 -0700 (PDT) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id MAA14561; Fri, 8 Sep 2000 12:50:47 -0400 (EDT) Date: Fri, 8 Sep 2000 12:50:47 -0400 (EDT) From: Daniel Eischen To: mitja@herme.si.hermes.si Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: makecontext() & friends ? In-Reply-To: <20000908154410.A16446@lamu.hermes.si> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 8 Sep 2000, Mitja Horvat wrote: > Hi, > > are there any plans to implement makecontext() & friends > functions in FreeBSD? > > Is there any other way to implement user-level threads? > (I know it can be done in assembler, but this is not > portable) > > Using pthreads is not an option for me, although pthreads > are implemented as userlevel threads in FreeBSD, but not > on most other Unixes. I have implemented {make,get,set,swap}context as library routines for FreeBSD. They're gathering dust somewhere and need a bit of polishing. If you give me some time I can dust them off and send them to you. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message