Changeset 038110a for libcfa/src


Ignore:
Timestamp:
Oct 1, 2020, 12:48:51 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
e235429
Parents:
4e39f51
Message:

Fixed typos and added thread/monitor/coroutine wrapper for gdb

Location:
libcfa/src/concurrency
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/clib/cfathread.cfa

    r4e39f51 r038110a  
    3434extern "C" {
    3535        //--------------------
    36         // Basic thread managenemt
     36        // Basic thread management
    3737        CRunner * cfathread_create( void (*main)( CRunner * ) ) {
    3838                return new( main );
  • libcfa/src/concurrency/clib/cfathread.h

    r4e39f51 r038110a  
    1717#include "invoke.h"
    1818
    19 #if defined(__cforall) || defined(__cpluplus)
     19#if defined(__cforall) || defined(__cplusplus)
    2020extern "C" {
    2121#endif
     
    3939
    4040
    41 #if defined(__cforall) || defined(__cpluplus)
     41#if defined(__cforall) || defined(__cplusplus)
    4242}
    4343#endif
  • libcfa/src/concurrency/invoke.h

    r4e39f51 r038110a  
    9393
    9494        };
     95        // Wrapper for gdb
     96        struct cfathread_coroutine_t { $coroutine debug; };
    9597
    9698        static inline struct __stack_t * __get_stack( struct $coroutine * cor ) {
     
    129131                struct __condition_node_t * dtor_node;
    130132        };
     133        // Wrapper for gdb
     134        struct cfathread_monitor_t { $monitor debug; };
    131135
    132136        struct __monitor_group_t {
     
    198202                #endif
    199203        };
     204        // Wrapper for gdb
     205        struct cfathread_thread_t { $thread debug; };
    200206
    201207        #ifdef __CFA_DEBUG__
Note: See TracChangeset for help on using the changeset viewer.