diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-07-25 20:47:46 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-07-25 20:47:46 +0000 |
commit | e5c209d4d3af63cccb73eeb60155445130e94750 (patch) | |
tree | 7fff2ca06e1701c8de76a3c878f4f57946281ade /sys/kern/exec_script.c | |
parent | 9d75cf179fec44b5a7d95633942948e418c983d3 (diff) |
Implement a MSGBUF control packet mechanism based on the command
request ids. So far we were only able to have one command in flight
at a time and race conditions could easily lead to unexpected
behaviour. With this rework we send and enqueue a control packet
command and wait for replies to happen. Thus we can have multiple
control packets in flight and a reply with the correct id will wake
us up.
Diffstat (limited to 'sys/kern/exec_script.c')
0 files changed, 0 insertions, 0 deletions