It is not a shared, concurrent data structure. In and of itself it can not be used to mutate a shared collection of data.
You could use something like Java's ConcurrentLinkedQueue. On Dec 3, 2:17 pm, Andreas Kostler <[email protected]> wrote: > Hi All, > May I cite an Author of a populer Clojure book: > > "If you find yourself wishing yourself to repeatedly check a work > queue to see if there's an item of work to be popped off, > or if you want to use a queue to send a task to another thread, you do > *not* want the PersistenQueue discussed in this section" > > Why do I not want to use clojure.lang.PersistentQueue for that purpose > and what would I want to use instead? > Can anyone fill me in please? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
