thread accept_loop — accept_loop (src/facade/external_bridge.cpp)

Overview · 4 steps, 1 lane

  1. step 1 · src/facade
  2. steps 2–3 · src/facade
  3. step 4 · src/facade
thread startthread startthread startthread startsrc/facadesrc/facadesrc/facadesrc/facadeloop (line 1749)loopopt (line 1760)optaccept_loop1–4. accept_loop → peer_uid_matches1peer_uid_matches +3 more
All 4 steps
#callercalleewhat it doesrequirementsframescall site
1accept_looppeer_uid_matchesValidate that the connecting peer shares the engine's UID.REQ-BRIDGE-001loop (line 1749), if (line 1760)src/facade/external_bridge.cpp:1760
2accept_loopserve_clientServe a single connected client until disconnect.REQ-BRIDGE-001loop (line 1749)src/facade/external_bridge.cpp:1778
3serve_clientsubscribeAdd a connected fd to the subscriber set.REQ-BRIDGE-001—src/facade/external_bridge.cpp:1823
4accept_loopreap_finished_clients_lockedReap finished client threads from client_threads_.—loop (line 1749)src/facade/external_bridge.cpp:1790

Functions

5 functions

This diagram as Mermaid · PlantUML · Graphviz DOT

Quick views

5 functions, each with its quick view