Commit fd9fbb2
net: nrf_provisioning: Move all processing into own workq
Define a worke queue, instead of thread and run all
longer running processes from this work queue.
Refactor the previous background thread to be a
delayable work item for this queue.
This way we don't accidentally block system work queue
on initialization phase.
Signed-off-by: Seppo Takalo <[email protected]>1 parent ac1f02e commit fd9fbb2
File tree
9 files changed
+358
-344
lines changed- include/net
- samples/cellular/nrf_provisioning/src
- subsys/net/lib/nrf_provisioning
- include
- src
- tests/subsys/net/lib/nrf_provisioning
- src
9 files changed
+358
-344
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 136 | | |
155 | 137 | | |
156 | 138 | | |
| |||
166 | 148 | | |
167 | 149 | | |
168 | 150 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 151 | + | |
174 | 152 | | |
175 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
176 | 160 | | |
177 | 161 | | |
178 | 162 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 19 | | |
27 | 20 | | |
28 | 21 | | |
| |||
0 commit comments