1
// Copyright (C) 2001-2003
4
// Permission to use, copy, modify, distribute and sell this software
5
// and its documentation for any purpose is hereby granted without fee,
6
// provided that the above copyright notice appear in all copies and
7
// that both that copyright notice and this permission notice appear
8
// in supporting documentation. William E. Kempf makes no representations
9
// about the suitability of this software for any purpose.
10
// It is provided "as is" without express or implied warranty.
12
#ifndef BOOST_THREAD_EXCEPTIONS_PDM070801_H
13
#define BOOST_THREAD_EXCEPTIONS_PDM070801_H
15
#include <boost/config.hpp>
16
#include <boost/thread/detail/config.hpp>
18
// pdm: Sorry, but this class is used all over the place & I end up
19
// with recursive headers if I don't separate it
20
// wek: Not sure why recursive headers would cause compilation problems
21
// given the include guards, but regardless it makes sense to
22
// seperate this out any way.
28
class BOOST_THREAD_DECL lock_error : public std::logic_error
34
class BOOST_THREAD_DECL thread_resource_error : public std::runtime_error
37
thread_resource_error();
43
// 3 Jan 03 WEKEMPF Modified for DLL implementation.
45
#endif // BOOST_THREAD_CONFIG_PDM070801_H