G'day,

If there is a more appropriate list for this then I apologise for targetting
the wrong people.

I have two questions about the internal management of parallelism within the
Hacker's Release (0.29).

1.  There are two spark pools (an ADVISORY_POOL and a REQUIRED_POOL).  Could
        someone explain to me what the two are for?  [I thought that all sparks
        were advisory and then when sparked into a full thread were stored in
        the threads pool (RunnableThreadsHd-RunnableThreadsTl).

2.  In a system that executes with priorities, when a new thread starts (either
        sparked or otherwise) it will typically `inherit' the priority of its
        `parent' thread.  (Either for direct use, or as a basis for determining
        the priority of the new thread).  I am modifying GHC to implement such
        a system but cannot find any reference to a parent thread in the TSO of
        a thread.  I have found the TSO definitions in Threads.lh but cannot
        see any `field' that refers to the contextual thread or its/their
        priority.  Could someone help me by telling me where that information
        is stored, or in fact give me some details on the TSO related
        code/definitions.

Thanks everyone -- and the more the better.  Please send *anything* you think
might be relevant to me.  If you need any more information I'll gladly provide
it.
-- 

                                                -Julian.

-------------------------------------------------------------------------------
   Julian Dermoudy,                 Phone: +61 3 6226 2933
     School of Engineering          Facsimile: +61 3 6226 2136
       (Computer Science)           E-Mail: [EMAIL PROTECTED]
     University of Tasmania,        WWW: http://bronte.cs.utas.edu.au/~dermoudy
     GPO box 252-65 Hobart, Tasmania, AUSTRALIA 7001
-------------------------------------------------------------------------------

Reply via email to