Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!brunix!twd From: twd@cs.brown.edu (Tom Doeppner) Newsgroups: comp.sys.encore Subject: Re: Encore Parallel Threads Keywords: help, bug Message-ID: <33193@brunix.UUCP> Date: 18 Mar 90 15:55:07 GMT References: <9691@wpi.wpi.edu> Sender: news@brunix.UUCP Reply-To: twd@cs.brown.edu (Tom Doeppner) Organization: Brown University Department of Computer Science Lines: 17 Summary: Expires: Sender: Followup-To: Distribution: In article <9691@wpi.wpi.edu> jwhitson@wpi.wpi.edu (John C Whitson KB2GNC) writes: > > I am running the *simplest* threads applications from > the Encore Parallel Threads Manual (matrix multiply, > the examples), and the examples have one problem: > they never complete!! My program sits around and does Your program makes a call to "THREADjoin," which is not defined in Brown Threads, from which Encore Parallel Threads was derived. (This routine was probably added as part of a C-threads compatibility package). If you replace "THREADjoin" with "THREADwaitforchild", your code will work (at least it does at Brown). Tom Doeppner Brown University twd@cs.brown.edu