Newsgroups: sci.electronics,comp.sys.m6809,comp.robotics,comp.realtime,comp.sys.realtime
Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!gatech!swrinde!news.dell.com!natinst.com!cs.utexas.edu!chpc.utexas.edu!news.utdallas.edu!corpgate!bcarh8ac.bnr.ca!bcarh189.bnr.ca!nott!cunews!revcan!rubicon!mps!dave
From: dave@mps.rubicon.org (David Mercer)
Subject: MCX 11 system Variables???
Keywords: MCX 11 
Message-ID: <1994Sep20.013144.180@mps.rubicon.org>
Organization: MultiPitch Systems
Date: Tue, 20 Sep 1994 01:31:44 GMT
X-Newsreader: TIN [version 1.2 PL2]
Lines: 37
Xref: glinda.oz.cs.cmu.edu sci.electronics:101341 comp.sys.m6809:2943 comp.robotics:13703 comp.realtime:6902

I have been using MCX 11 for some time but have only receintly started 
serously.  I have a question that I hope sombody out there has the answer to:

How do the variables NTASKS, NQUEUES, NNAMSEM, and NTIMERS relate to one 
another?

Simple at first glance.  

NTASKS is the number of tasks in the system (your tasks + 1 for the clock
driver)

NQUEUES should be the number of queues and so forth with NNAMSEM and NTIMERS.

I have discovered that if you set NQUEUES to 0, the system goes nuts, 
likewise for NTIMERS.  Also, In the example code provided with MCX11, the 
variables are assigned values:

NTASKS = 5
NQUEUES = 2
NNAMSEM = 8
NTIMERS = 3

This is all well and good but I can only find definitions for 4 
semaphores.  Is NNAMSEM a function of the number NQUEUES also?

Any light that you can shed on these mysteries would be greatly appreciated.

DAve


-- 
|----------------------------|----------------------------------|
|  Dave Mercer, P.Eng.       |      If voting could change      |
|  MultiPitch Systems        |            the system            |
|  VE3 XMJ                   |        it would be illegal       |
|  dave@mps.rubicon.org      |                                  |
|----------------------------|----------------------------------|
