]> Lady’s Gitweb - Gitweb/commitdiff
gitweb.js: No need for inProgress in blame_incremental.js
authorJakub Narebski <redacted>
Fri, 27 May 2011 13:49:59 +0000 (15:49 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
JavaScript is single-threaded, so there is no need for protection
against re-entrancy via inProgress variable.

In particular calls to setInterval handler are stacked if handler
doesn't finish before new interrupt (before new interval).  The same
happens with events - they are (hopefully) stacked if even handler
didn't finish work.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>

No differences found
This page took 0.134257 seconds and 4 git commands to generate.