diff options
| author | Grissiom <[email protected]> | 2014-08-20 10:16:04 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2014-08-20 10:26:06 +0800 |
| commit | 7354a9fb782c92001a26f6cefa914ad6a509d0eb (patch) | |
| tree | f8f8d7ab35e9a0b9d000e360e757579834400f46 /src/SConscript | |
| parent | d57e880444aa63735e49c48b1e126f06e018ef74 (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.
Commit b8bf6bef76bdabe76749c752217afbe5d24ba371 from master.
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions
