« Previous | Next » 

Revision 85f03e0d

ID85f03e0daa20261789af7561d0d547f7ebe19f61
Parent c0a8eb9e
Child 74b5913f

Added by Michael Hanselmann almost 16 years ago

Rewrite job queue

We found several issues in the old job queue implementation. It had race
conditions, deadlocks and other deficiencies.

Short summary:
- _QueuedOpCode and _QueuedJob are now more or less data structures with a few
utility functions. __Setup is gone.
- DiskJobStorage and JobQueue classes merged into one to reduce code complexity.
- One lock in JobQueue for almost everything. There's also a lock per opcode
for log messages.

Reviewed-by: iustinp

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences