🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.ada
Article #975

Re: Task question

#975
From: Matts_Kallioniemi_QZ
Date: Fri, 26 Sep 1986 17:28
24 lines
1947 bytes
You didn't mention what compiler You use. Task scheduling is implementation
dependent. VAX-Ada for example lets a task run as long it has demand on cpu,
which in Your case is forever for each task. The thing is to use
PRAGMA TIME_SLICE(0.01);
to force a rescheduling after every 0.01 seconds. This will naturally increase
the overhead when running the program.

Have a Nice Day!
---------------------------------------------------------------------------
BITNET:                 MATTS@SEARN.BITNET      (mail)
                        MATTS@SEQZ51.BITNET     (files, vax/vms-jnet)
MAILNET:                Matts_Kallioniemi_QZ@QZCOM.MAILNET
ARPA/CSNET:             Matts_Kallioniemi_QZ%QZCOM.MAILNET@MIT-MULTICS.ARPA
JANET:                  Matts_Kallioniemi_QZ%QZCOM@UK.AC.YORK.KL
EAN:                    matts@QZ.sunet
PSI/VAX-Mail:           240200101915::MATTS
G3 fax:                 Nat: 08-675559  Int: +46 8 675559
Telephone:              Nat: 08-654550  Int: +46 8 654550
Telex:                  SWE/10366 FOAS
Reality-Mail:           QZ, Stockholm University Computing Center
                        Box 27322, Linnegatan 89
                        S-102 54  STOCKHOLM, Sweden
ICBM:                   N5920 E01806
---------------------------------------------------------------------------
Technical Details
Message-ID: <204386@QZCOM>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cbosgd!ucbvax!QZCOM.MAILNET!Matts_Kallioniemi_QZ
References: <204266@QZCOM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cbosgd!ucbvax!QZCOM.MAILNET!Matts_Kallioniemi_QZ
From: Matts_Kallioniemi_QZ@QZCOM.MAILNET
Newsgroups: net.lang.ada
Subject: Re:  Task question
Message-ID: <204386@QZCOM>
Date: Fri, 26-Sep-86 13:28:39 EDT
Article-I.D.: QZCOM.204386
Posted: Fri Sep 26 13:28:39 1986
Date-Received: Tue, 30-Sep-86 03:18:04 EDT
References: <204266@QZCOM>
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Matts_Kallioniemi_QZ%QZCOM.MAILNET@MIT-MULTICS.ARPA, ADA_mailing_list%QZCOM.MAILNET@MIT-MULTICS.ARPA
Organization: The ARPA Internet
Lines: 24