From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,10d1a90a699d6cfc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: Brian May Newsgroups: comp.lang.ada Subject: Re: Ada tasking question References: <20070418201307.18a85fd9@cube.tz.axivion.com> <462688E3.6050105@nowhere.com> <20070419005738.692eeeb6@cube.tz.axivion.com> Date: Thu, 19 Apr 2007 09:41:11 +1000 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:ZJcir64uNCyTbNfsMQ8PkIe5Qtg= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: snoopy.microcomaustralia.com.au X-Trace: quokka.wn.com.au 1176939627 202.173.153.89 (19 Apr 2007 07:40:27 +0800) X-Complaints-To: abuse@westnet.com.au Path: g2news1.google.com!news2.google.com!news.glorb.com!quokka.wn.com.au!not-for-mail Xref: g2news1.google.com comp.lang.ada:15108 Date: 2007-04-19T09:41:11+10:00 List-Id: >>>>> "Stefan" == Stefan Bellon writes: Stefan> Well, here I seem to have still problems. "In the Stefan> beginning", it seems to work very well. Debug output shows Stefan> that the tasks do work and fetch new jobs and so on. But Stefan> as time goes by, some tasks get "lazy" and I have no idea Stefan> why. They do not terminate, but do not fetch new jobs Stefan> although there are still open buckets to process. At a quick guess, this sounds to me like an threading library, OS or compiler specific issue. What OS and version are you using? If Linux what kernel version? What compiler are you using? Also, I don't know how your Debug routine is implemented, is it possible the Debug routine is somehow causing problems? Maybe some sort locking or deadlock condition? -- Brian May