Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[JIRA] Created: (CAROB-56) install our unexpected exception handler using s: msg#00024

db.carob.general

Subject: [JIRA] Created: (CAROB-56) install our unexpected exception handler using set_unexpected()

install our unexpected exception handler using set_unexpected()
---------------------------------------------------------------

Key: CAROB-56
URL: https://forge.continuent.org/jira/browse/CAROB-56
Project: Carob
Type: Improvement
Reporter: Marc Herbert
Assigned to: Gilles Rayrat
Priority: Minor


Currently, when an exception thrown violates the signature of a Carob function,
control is transfered
to an unknown handler (typically the default handler "abort()").

We should install our own exception handler, but:
1) we have to un-install it when we exit the library call
2) we have to check std::set_unexpected() is thread-safe (per-thread) on
supported platforms.

1) can be quite easily achieved using the "resource acquisition is
initialization" technique documented
in Stroustrup 14.6.3.1 "User mapping of exceptions".
2) requires to browse the documentation (or even the source code?) of targeted
systems :-/


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo