mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-21 15:02:29 +00:00
fix fiber-exceptions
This commit is contained in:
@@ -89,7 +89,8 @@ recursive_timed_mutex::unlock() {
|
||||
context * ctx = context::active();
|
||||
detail::spinlock_lock lk( wait_queue_splk_);
|
||||
if ( ctx != owner_) {
|
||||
throw lock_error( static_cast< int >( std::errc::operation_not_permitted),
|
||||
throw lock_error(
|
||||
std::make_error_code( std::errc::operation_not_permitted),
|
||||
"boost fiber: no privilege to perform the operation");
|
||||
}
|
||||
if ( 0 == --count_) {
|
||||
|
||||
Reference in New Issue
Block a user