diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-08-14 15:55:47 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-08-14 15:55:47 +0300 |
commit | 4e6324dd59c78099f5360d22c53533f6925dfbfa (patch) | |
tree | fc4241d0f6df999cf9cf364f57f9aa69c32f7f1c /source | |
parent | f0c2f4fa916cd0060dceac60183b95033e409578 (diff) |
Cycles: Guard memcpy to potentially re-allocating memory with lock
Basically, make re-alloc and memcpy from the same lock, otherwise one
thread might be re-allocating thread while another one is trying to
copy data there.
Reported by Mohamed Sakr in IRC, thanks!
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions