There are no possible flags that will have any effect. The macro declaration for sync
is:
(defmacro sync
[flags-ignored-for-now & body]
`(. clojure.lang.LockingTransaction
(runInTransaction (fn [] ~@body))))
So you can put anything you would like there ;-) This is used in the ants demo because when that demo was written the language was evolving and it was thought that some flags would be needed, which turned out not to be the case.