#
c80084b0 |
| 18-Oct-2015 |
Axel Dörfler <axeld@pinc-software.de> |
JobQueue: fixed incorrect requeuing.
* A dependent job was requeued even if it wasn't part of the queue before. The code relied on dependent jobs being already enqueued; but that cannot be guara
JobQueue: fixed incorrect requeuing.
* A dependent job was requeued even if it wasn't part of the queue before. The code relied on dependent jobs being already enqueued; but that cannot be guaranteed. * If a job failed, its dependent jobs are now also set to failed, so that they won't be requeued at a later point. * This caused some of the "Launching xxx failed: Operation not allowed" messages in the boot process. Those actually weren't harmless, and could mess up the natural job order.
show more ...
|
#
6ff95509 |
| 31-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
JobQueue: fixed leak, notification, added Pop() variant.
* Was leaking fQueuedJobs on destruction. * fHaveRunnableJobSem implementation was not completed; it was never released. * Added Pop() vari
JobQueue: fixed leak, notification, added Pop() variant.
* Was leaking fQueuedJobs on destruction. * fHaveRunnableJobSem implementation was not completed; it was never released. * Added Pop() variant that is a bit more flexible, and allows for a timeout as well as waiting even when the queue is empty, and can return a status code.
show more ...
|
#
e711e6e4 |
| 18-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Moved BJob, and JobQueue into the support kit.
* Put it in the BSupportKit namespace, following the style introduced with the package kit for now. * The BSupportKit::BJob class no longer knows abo
Moved BJob, and JobQueue into the support kit.
* Put it in the BSupportKit namespace, following the style introduced with the package kit for now. * The BSupportKit::BJob class no longer knows about the package kit's Context class. However, the BPackageKit::BJob class does. * Due to the namespace juggling, a lot of files had to be touched. * The JobQueue class remains private. * Due to the way Haiku is built on itself, you cannot build this change under Haiku with an older release.
show more ...
|