Ignore:
Timestamp:
Oct 13, 2024, 12:28:15 PM (5 weeks ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
c565d68
Parents:
1a8b17a
Message:

change CFA runtime libraries to use C designator syntax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/actor.hfa

    r1a8b17a r1a7203d  
    710710// Default messages to send to any actor to change status
    711711// assigned at creation to __base_msg_finished to avoid unused message warning
    712 message __base_msg_finished @= { .alloc : Finished };
     712message __base_msg_finished @= { .alloc = Finished };
    713713struct delete_msg_t { inline message; } delete_msg = __base_msg_finished;
    714714struct destroy_msg_t { inline message; } destroy_msg = __base_msg_finished;
     
    718718allocation receive( actor & this, destroy_msg_t & msg ) { return Destroy; }
    719719allocation receive( actor & this, finished_msg_t & msg ) { return Finished; }
     720
     721// Default messages used all the time.
     722//static struct startmsg_t { inline message; } start_msg; // start actor
     723//static struct stopmsg_t { inline message; } stop_msg; // terminate actor
Note: See TracChangeset for help on using the changeset viewer.