Menu

so-5.4.0 There is no more true anonymous agent's states

Yauheni Akhotnikau Boris Sivko Nicolai Grodzitski

Every object of so_5::rt::state_t now has a name. Even if object is not specified by user the name will be generated automatically. This helps to diagnose errors in event subscription and in agent state changing.

The automatically generated name can be up to 40-60 bytes long (it depends on 32- or 64-bit application type and on features of pointer to string conversion in standard library). So, it is recommended you do not use anonymous agent's states if count of agents is significant (hundreds of thousands).


Related

Wiki: so-5.4.0 Version Info
Wiki: so-5.5 By Example Change State