Function: gnus-async-with-semaphore

gnus-async-with-semaphore is a macro defined in gnus-async.el.gz.

Signature

(gnus-async-with-semaphore &rest FORMS)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-async.el.gz
(defmacro gnus-async-with-semaphore (&rest forms)
  (declare (indent 0) (debug t))
  `(unwind-protect
       (progn
	 (gnus-async-get-semaphore 'gnus-async-article-semaphore)
	 ,@forms)
     (gnus-async-release-semaphore 'gnus-async-article-semaphore)))