Path: news.daimi.aau.dk!news.uni-c.dk!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!online.no!Norway.EU.net!EU.net!main.Germany.EU.net!Frankfurt.Germany.EU.net!howland.reston.ans.net!news.sprintlink.net!new-news.sprintlink.net!newsreader.sprintlink.net!news.sprintlink.net!news-dc-2.sprintlink.net!newsfeed.internetmci.com!news.msfc.nasa.gov!pendragon!ames!waikato!canterbury.ac.nz!usenet From: kasper@cosc.cosc.canterbury.ac.nz (Kasper Osterbye) Newsgroups: comp.lang.beta Subject: THIS and COMPONENTs Date: 21 Jul 1996 21:54:09 GMT Organization: University of Canterbury Lines: 11 Distribution: world Message-ID: NNTP-Posting-Host: cosc.canterbury.ac.nz Hi, Is there a way to obtain a referece to the currently executing co-routine? I need it for a simulation framework where I would like a co-routine to put itself into a queue. Or is the lack of such a feature the reason why it is S[]->fork rather than S.fork? -- Kasper