source: libcfa/src/concurrency/exception.hfa @ f42fc13

ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change on this file since f42fc13 was c960331, checked in by Andrew Beach <ajbeach@…>, 4 years ago

Attempt to clean-up the exception headers. I think this is easier to follow.

  • Property mode set to 100644
File size: 889 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// exception.hfa -- Exceptions in a concurrent environment.
8//
9// Author           : Andrew Beach
10// Created On       : Mon Aug 24 10:41:00 2020
11// Last Modified By : Andrew Beach
12// Last Modified On : Mon Aug 24 14:27:00 2020
13// Update Count     : 0
14//
15
16#pragma once
17
18// This is an internal bridge between the two modes and must be C compatable.
19
20#include <unwind.h>
21#include "bits/defs.hfa"
22#include "invoke.h"
23#include "exception.h"
24
25#ifdef __cforall
26extern "C" {
27#endif
28
29struct exception_context_t * this_exception_context(void) OPTIONAL_THREAD;
30
31_Unwind_Reason_Code __cfaehm_cancellation_unwind(
32                struct _Unwind_Exception * unwind_exception ) OPTIONAL_THREAD;
33
34#ifdef __cforall
35}
36#endif
Note: See TracBrowser for help on using the repository browser.