From owner-freebsd-questions Sun Jun 18 1:19: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by hub.freebsd.org (Postfix) with ESMTP id DC01F37B962 for ; Sun, 18 Jun 2000 01:18:57 -0700 (PDT) (envelope-from pirat@access.inet.co.th) Received: from TruPPP3560.inet.co.th (TruPPP3560.inet.co.th [203.151.127.220]) by access.inet.co.th (8.8.8/8.8.8) with ESMTP id PAA10255 for ; Sun, 18 Jun 2000 15:18:50 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Date: Sun, 18 Jun 2000 15:20:03 +0700 (ICT) From: pirat X-Sender: pirat@parwati.oaep.go.th To: questions@FreeBSD.ORG Subject: reentrant code for Intel Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi sirs, many many years ago, i used to program lsi-11 and it was quite easy to code some thing in re-entrant fashion since lsi-11 had a hard ware stack register, R6. as far as i know, intel does not have any hardware stack so that one can not write any co routine. i may be wrong for this. i observe from time to time during makeing some ports that a -DREENTRANT appears in most of all programmes comprise to that port. this is not a how to question but very close to that. can anyone here show me some code fragments of some coroutine written in a re-entrant style, for use with intel sure. many thanks in advance. with regards, psr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message