NOTES ABOUT THE MINIMAL XMK PORT TO APLMT
===============================================================================
The APLMT port to XMK is nearly a one-to-one mapping (no surprise there).  
However, there are some exception, caveats, etc.    

USAGE/NOTES:
------------
    - The default thread factory implemenation is such that the thread factory
      handle maps to a pointer to the top-of-the-stack memory for a single
      thread.  This means that using this APL->XMK mapping, a given thread
      factory can only create one thread at time.  Obviously, the thread
      factory does not actively "reclaim" memory when a thread is deleted.
      NOTE: The default thread factory only creates XMK dynamic threads.

    - The default semaphore factory implemenation is such that the semaphore
      factory handle maps to a pointer to a pre-allocated XMK semaphore. This 
      means that using this APL->XMK mapping, a given semaphore factory can 
      only create one thread at time.  Obviously, the semaphore factory does not 
      actively "reclaim" memory when a semaphore is deleted. 
      NOTE: The APL->XMK mapping is such that the create method INITIALIZED
            the specified XMK semaphore and the destroy method calls the
            XMK destroy method for the specified semaphore.

    - The default mutex factory implemenation is such that the mutex
      factory handle maps to a pointer to a pre-allocated XMK mutex. This 
      means that using this APL->XMK mapping, a given mutex factory can 
      only create one thread at time.  Obviously, the mutex factory does not 
      actively "reclaim" memory when a mutex is deleted. 
      NOTE: The APL->XMK mapping is such that the create method INITIALIZED
            the specified XMK mutex and the destroy method calls the
            XMK destroy method for the specified mutex.

    - The APL error handler is mapped to XMK's error handler.  The 
      application can provides its own "XMK error handler" without having
      to change the APL->XMK mapping (however, the app will have to follow the
      XMK procedures for providing an alternate error handler).


CAVEATS:
--------
    - The data parameter of Apl_fatalErrorWithData() is ignored/not-used.

    - The name-buffer size parameter to Aplmt_getThreadInfo() is ignored.  It
      is assumed that the specified name-buffer is large enough.

    - The Aplmt_sleepMsec() is not properly implemented.  The specified sleep
      time is NOT normalized to milliseconds, but is passed directly to
      the Xmk_sleep() method (i.e. sleep-time argument is in XMK Sleep Ticks
      and not in milliseconds).

    - The Aplmt_getSystemTimeMsec() is not properly implemented.  The returned
      time is NOT normalized to milliseconds, but is returned directly from
      the Xmk_getSystemTime() method (i.e. system-time value is in XMK System 
      Ticks and not in milliseconds).


CONFIGURATION:
--------------
The following XMK Services are required.  See XMK documentation on how to
configure the XMK kernel & services.
    o USE_XMK_CORE_KERNEL
    o USE_XMK_THREAD_SLEEP  (or USE_XMK_THREAD_XSLEEP)
    o USE_XMK_SYSTEM_TIMER
    o USE_XMK_SEMAPHORES
    o USE_XMK_MUTEXES
    o USE_XMK_SCHEDULER_EI_DI_SWITCHING

If the application calls Aplmt_createThread(), then the following are required:
    o USE_XMK_EXTENDED_THREADS 
