… | … | ||
---|---|---|---|
1948 | 1948 | ||
1949 | sub do_load_sync { | 1949 | sub do_load_sync { |
1950 | my ($map) = @_; | 1950 | my ($map) = @_; |
1951 | 1951 | ||
1952 | cf::LOG cf::llevDebug | cf::logBacktrace, "do_load_sync" | 1952 | cf::LOG cf::llevDebug | cf::logBacktrace, "do_load_sync" |
1953 | if $Coro::current != $Coro::main; | 1953 | if $Coro::current == $Coro::main; |
1954 | 1954 | ||
1955 | cf::sync_job { $map->load }; | 1955 | cf::sync_job { $map->load }; |
1956 | } | 1956 | } |
1957 | 1957 | ||
1958 | our %MAP_PREFETCH; | 1958 | our %MAP_PREFETCH; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |