mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-27 05:05:51 +00:00
Add note about race issue
This commit is contained in:
parent
ea39d3914e
commit
141046b45b
@ -124,6 +124,7 @@ static int task_http_iterate_transfer(retro_task_t *task)
|
||||
|
||||
if (!net_http_update(http->handle, &pos, &tot))
|
||||
{
|
||||
/* TODO/FIXME - race issue */
|
||||
task->progress = (tot == 0) ? -1 : (signed)(pos * 100 / tot);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user