Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7662463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:48:36+00:00 2026-05-31T13:48:36+00:00

So say we have pseudocode like: super_local_thread() { try{ throw err; }catch(err) { throw

  • 0

So say we have pseudocode like:

super_local_thread()
{
try{
throw err;
}catch(err)
{
throw err2;
}

and we had launched that thread with boost.
We want to chath its error with another thread. How to do such thing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:48:37+00:00Added an answer on May 31, 2026 at 1:48 pm

    C++11 specifies a current_exception function (in the standard, section 18.8 Exception Handling) to allow you to do exactly that.

    Here’s an MSDN article on transporting exceptions between threads that makes use of this function.

    Since you’re using Boost, here’s the Boost documentation for current_exception and Boost article on transporting exceptions between threads .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say have something like: SELECT energy_produced, energy_consumed, timestamp1 AS timestamp FROM ( SELECT
Say I have a class named Frog, it looks like: public class Frog {
I have recently designed a web application that I would like to write in
Let's say I have a file like this: <outer> <inner> <nodex attr=value1>text</attr> <nodex attr=value2>text</attr>
Let´s say I have two branches, default and mybranch, I would like to write
I have a working coffeescript/backbone idiom that looks like this: SidebarWidgets = ((() ->
Say I have a method that turns a (function on two elements) into a
Lets say I have a char array that contains the sequences of chars: robots
Lets say I have a simple program : (pseudocode) for(i=0;i<1000;i++) { print(i + \n);
Let's say I have a theoretical MVC framework that uses a ViewData object to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.