"exceptions"
Include the header "Dinkum/threads/exceptions" to define classes
used for reporting exceptions during thread operations.
namespace Dinkum {
namespace threads {
class lock_error;
class thread_resource_error;
} // namespace threads
} // namespace Dinkum
class lock_error
: public std::runtime_error
{
public:
lock_error();
};
The class describes an exception thrown to indicate that an attempted
operation involving a lock failed because the lock was not in a required state.
class thread_resource_error
: public std::runtime_error
{
public:
thread_resource_error();
};
The class describes an exception thrown to indicate that an attempted
operation failed because a required resource other than memory was not available.
See also the
Table of Contents
and the Index.
Copyright © 1992-2006
by Dinkumware, Ltd.
Portions derived from work copyright © 2001
by William E. Kempf. All rights reserved.