Skip to content

Commit

Permalink
Change svn revision to git object id in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jtackaberry committed May 12, 2012
1 parent 00011ec commit f20e64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,15 @@ def run_queue(fd):


# It's possible that a thread is actively enqueuing callbacks faster
# than we can dequeue and invoke them. r3583 tried to fix this by
# than we can dequeue and invoke them. 207fc3af77 tried to fix this by
# locking the queue for the entire loop, but this introduced a
# deadlock caused when a thread enqueues a callback while a previously
# queued callback is being invoked and is blocked on a resource used
# by that thread (like a different mutex).
#
# So we don't lock the whole loop to avoid the deadlock, and we stop
# invoking callbacks after mainthread_callback_max_time seconds
# has elapsed in order to solve the problem r3583 tried to fix.
# has elapsed in order to solve the problem 207fc3af77 tried to fix.
#
# Now, there is a large upper bound on the queue to prevent memory
# exhaustion, which means a producer will block if it's adding
Expand Down

0 comments on commit f20e64c

Please sign in to comment.