diff options
| author | Mark Stapp <mjs@cisco.com> | 2024-04-09 08:51:20 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@cisco.com> | 2024-04-11 09:00:58 -0400 |
| commit | 44eb133b527dc113c75d419bf062517d8cdb3ad9 (patch) | |
| tree | 39b26ebb2e2d4561fc29cc506712aae05647c85a /ospfd/ospf_errors.c | |
| parent | e19fa07c2c92a84e89d0b08cc735ac16e699b3b3 (diff) | |
lib: serialize pthread startup
Add a new condition var and mutex to serialize pthread startup.
When a new pthread is started, it will wait very early on for the
parent pthread to permit it to run. This ensures that that the
ordering between parent and child is predictable.
Signed-off-by: Mark Stapp <mjs@cisco.com>
Diffstat (limited to 'ospfd/ospf_errors.c')
0 files changed, 0 insertions, 0 deletions
