thread_alloc.h
上传用户:shtangtang
上传日期:2007-01-04
资源大小:167k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * Copyright (c) 1996-1997
  3.  * Silicon Graphics Computer Systems, Inc.
  4.  *
  5.  * Permission to use, copy, modify, distribute and sell this software
  6.  * and its documentation for any purpose is hereby granted without fee,
  7.  * provided that the above copyright notice appear in all copies and
  8.  * that both that copyright notice and this permission notice appear
  9.  * in supporting documentation.  Silicon Graphics makes no
  10.  * representations about the suitability of this software for any
  11.  * purpose.  It is provided "as is" without express or implied warranty.
  12.  */
  13. #ifndef __SGI_STL_ALLOC_H
  14. #define __SGI_STL_ALLOC_H
  15. #ifndef __STL_CONFIG_H
  16. #include <stl_config.h>
  17. #endif
  18. #ifndef __SGI_STL_INTERNAL_ALLOC_H
  19. #undef _PTHREADS
  20. #undef __STL_PTHREADS
  21. #define __STL_SOLTHREADS
  22. #include <stl_alloc.h>
  23. #endif
  24. #ifdef __STL_USE_NAMESPACES
  25. using __STD::__malloc_alloc_template; 
  26. using __STD::malloc_alloc; 
  27. using __STD::simple_alloc; 
  28. using __STD::debug_alloc; 
  29. using __STD::__default_alloc_template; 
  30. using __STD::alloc; 
  31. using __STD::single_client_alloc; 
  32. #ifdef __STL_STATIC_TEMPLATE_MEMBER_BUG
  33. using __STD::__malloc_alloc_oom_handler; 
  34. #endif /* __STL_STATIC_TEMPLATE_MEMBER_BUG */
  35. #ifdef __STL_USE_STD_ALLOCATORS 
  36. using __STD::allocator;
  37. #endif /* __STL_USE_STD_ALLOCATORS */
  38. #endif /* __STL_USE_NAMESPACES */
  39. #endif /* __SGI_STL_ALLOC_H */
  40. // Local Variables:
  41. // mode:C++
  42. // End: