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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,da126037e6b18fc5,start X-Google-Attributes: gid103376,public From: pjbrooke@my-deja.com Subject: GNAT: storage error and tasks Date: 2000/01/26 Message-ID: <86mjv3$24b$1@nnrp1.deja.com>#1/1 X-Deja-AN: 577755635 X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 194.6.79.172 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Jan 26 10:57:39 2000 GMT X-MyDeja-Info: XMYDJUIDpjbrooke Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 2000-01-26T00:00:00+00:00 List-Id: Hi, I have a program that naturally decomposes into a procedure plus three tasks. Each task contains some 'large' data structures. If I rewrite the program to use packages instead of tasks (this makes other bits rather messy, so I'd rather use tasks) then there is no problem. However, when using tasks, they raise Storage_Error. I'm using GNAT 3.10p on a Debian Linux machine. I'm sure I'm missing something here (I've tried looking through the GNAT documentation, the LRM, Deja...), but I'm not getting very far with it. Can anyone tell me what I've forgotten/done wrong? Thanks, Phil. Sent via Deja.com http://www.deja.com/ Before you buy.