Commit 70e2710
committed
zephyr: sync: Add Mutex::new and Condvar::new
Add dynamic allocation support to the sync Mutex and Condvar. When
allocation is available, and userspace is not used, these can be used
pretty much the same as those from std.
Signed-off-by: David Brown <david.brown@linaro.org>1 parent 150ec35 commit 70e2710
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
| |||
216 | 222 | | |
217 | 223 | | |
218 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
219 | 231 | | |
220 | 232 | | |
221 | 233 | | |
| |||
0 commit comments