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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a6c65cbc407987fe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-14 10:59:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn11feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc01.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: dynamic multithreading References: <3DD3D841.CD16A4CB@canal-plus.fr> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc01 1037300392 12.234.13.56 (Thu, 14 Nov 2002 18:59:52 GMT) NNTP-Posting-Date: Thu, 14 Nov 2002 18:59:52 GMT Organization: AT&T Broadband Date: Thu, 14 Nov 2002 18:59:52 GMT Xref: archiver1.google.com comp.lang.ada:30898 Date: 2002-11-14T18:59:52+00:00 List-Id: > - First, there is performance issue. Creating a new task each time > ... > - Second, you must absolutely unchecked_deallocate each task after > ... Some systems I've used still have a memory leak when a task is deallocated. (Task Control Block?) > As an alternative, never let a service task die. Once a task has > ... > This is not so difficult to design and much more robust. > ... For a simple example, download www.adapower.com/reuse/clawweb.zip and look at Find_A_Worker.