feat: sync-music: add task number to log
This commit is contained in:
parent
c5e1327c19
commit
3adb38248e
|
@ -59,8 +59,12 @@
|
||||||
(char-equal (read-char) #\y))))
|
(char-equal (read-char) #\y))))
|
||||||
|
|
||||||
(defun progress-handler (queue task-count)
|
(defun progress-handler (queue task-count)
|
||||||
(loop :repeat task-count
|
(loop :for n :from 1 :upto task-count
|
||||||
:do (format t "~A~%" (lparallel.queue:pop-queue queue))))
|
:do (format t
|
||||||
|
"(~A/~A) ~A~%"
|
||||||
|
n
|
||||||
|
task-count
|
||||||
|
(lparallel.queue:pop-queue queue))))
|
||||||
|
|
||||||
(defun main ()
|
(defun main ()
|
||||||
(multiple-value-bind (options free-args)
|
(multiple-value-bind (options free-args)
|
||||||
|
|
Loading…
Reference in a new issue