home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / IBMCLASS / ITHREAD.INL < prev    next >
Text File  |  1993-10-22  |  2KB  |  50 lines

  1. #ifndef _ITHREAD_INL_
  2. #define _ITHREAD_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: ithread.inl                                                       *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in ithread.hpp.                                         *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   Licensed Materials - Property of IBM                                       *
  12. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  13. *   All Rights Reserved                                                        *
  14. *   US Government Users Restricted Rights - Use, duplication, or               *
  15. *   disclosure                                                                 *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. *******************************************************************************/
  19. #ifndef _ITHREAD_
  20.   #undef  _ITHREAD_INL_
  21.   #define _ITHREAD_INL_ 1
  22.   #include <ithread.hpp>
  23. #endif
  24.  
  25. #if _ITHREAD_INL_
  26.   #define inline
  27. #endif
  28.  
  29. inline unsigned long IThread :: defaultStackSize ( )
  30.   {
  31.   return IThread::dfltStackSize;
  32.   }
  33. inline void IThread :: setDefaultStackSize ( unsigned long newStkSize )
  34.   {
  35.   IThread::dfltStackSize = newStkSize;
  36.   }
  37. inline void IThread :: setDefaultAutoInitPM ( Boolean newFlag )
  38.   {
  39.   IThread::dfltAutoInitPM = newFlag;
  40.   }
  41. inline long IThread :: defaultQueueSize ( )
  42.   {
  43.   return IThread::dfltQueueSize;
  44.   }
  45. inline void IThread :: setDefaultQueueSize ( long newQSize )
  46.   {
  47.   IThread::dfltQueueSize = newQSize;
  48.   }
  49. #endif // _ITHREAD_INL_
  50.