Changeset 1a7203d for libcfa/src/concurrency/actor.hfa
- Timestamp:
- Oct 13, 2024, 12:28:15 PM (5 weeks ago)
- Branches:
- master
- Children:
- c565d68
- Parents:
- 1a8b17a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/actor.hfa
r1a8b17a r1a7203d 710 710 // Default messages to send to any actor to change status 711 711 // assigned at creation to __base_msg_finished to avoid unused message warning 712 message __base_msg_finished @= { .alloc :Finished };712 message __base_msg_finished @= { .alloc = Finished }; 713 713 struct delete_msg_t { inline message; } delete_msg = __base_msg_finished; 714 714 struct destroy_msg_t { inline message; } destroy_msg = __base_msg_finished; … … 718 718 allocation receive( actor & this, destroy_msg_t & msg ) { return Destroy; } 719 719 allocation 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.