Ignore:
Timestamp:
Dec 11, 2024, 7:32:08 PM (7 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
36dfdac
Parents:
e797179
Message:

Remove autogen forward declarations, which are never needed, and cause warnings about static declarations without definitions.

Intended to fix the failing test from previous commit.

Autogen forward declarations are never needed because they do not depend on each other, much less with mutual recursion.

Consequences:

  • tests/.expect/(5 tests).(3 archs).txt: Accept generated code that lacks autogen forward declarations
  • libcfa/src/concurrency/thread.*: Remove unused dependency on destructor from constructor (via thrd_start), by splitting trait is_thread with is_basic_thread
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/thread.cfa

    re797179 r5d3d281  
    135135//-----------------------------------------------------------------------------
    136136// Starting and stopping threads
    137 forall( T & | is_thread(T) )
     137forall( T & | is_basic_thread(T) )
    138138void __thrd_start( T & this, void (*main_p)(T &) ) {
    139139        thread$ * this_thrd = get_thread(this);
Note: See TracChangeset for help on using the changeset viewer.