Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Sets an upper bound on the number of links that the multi_link_registry object can hold.
void set_bound(
size_t _MaxLinks
);
Parameters
- _MaxLinks
The maximum number of links that the multi_link_registry object can hold.
Remarks
After a bound is set, unlinking an entry will cause the multi_link_registry object to enter an immutable state where further calls to add will throw an invalid_link_target exception.
Requirements
Header: agents.h
Namespace: concurrency