ADT
        ast-experimental
        pthread-emulation
      
      
        
          | Last change
 on this file since 428adbc was             c960331, checked in by Andrew Beach <ajbeach@…>, 5 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 | 
      
      
| Rev | Line |  | 
|---|
| [d119d613] | 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 |  | 
|---|
| [342be43] | 18 | // This is an internal bridge between the two modes and must be C compatable. | 
|---|
|  | 19 |  | 
|---|
| [c960331] | 20 | #include <unwind.h> | 
|---|
| [d119d613] | 21 | #include "bits/defs.hfa" | 
|---|
|  | 22 | #include "invoke.h" | 
|---|
| [c960331] | 23 | #include "exception.h" | 
|---|
| [d119d613] | 24 |  | 
|---|
|  | 25 | #ifdef __cforall | 
|---|
|  | 26 | extern "C" { | 
|---|
|  | 27 | #endif | 
|---|
|  | 28 |  | 
|---|
|  | 29 | struct 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.