diff options
| author | Grissiom <[email protected]> | 2014-08-20 10:16:04 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2014-08-20 10:16:04 +0800 |
| commit | b8bf6bef76bdabe76749c752217afbe5d24ba371 (patch) | |
| tree | 3231af73935f8d42c6d3446278b723ccf6cc8e08 /components/SConscript | |
| parent | 0135dd38cf2b485b071b143ca544bb4d7c801a68 (diff) | |
kernel: mempool: fix race condition in rt_mp_alloc
When thread wake up from waiting for memory, there is a chance that
there is no memory available in high pressure. So use a loop to check
again. Otherwise, there will be a NULL reference.
Diffstat (limited to 'components/SConscript')
0 files changed, 0 insertions, 0 deletions
