2014-04-12 17:20 GMT+02:00 Fergal Byrne <fergalbyrnedub...@gmail.com>:
> (.. Runtime getRuntime availableProcessors) is a bit cleaner > Did not know that one. Definitely better. But I already changed the way I do it. I think I will use Runtime more often, so I do now: (def runtime (. Runtime (getRuntime))) (.availableProcessors runtime) > On Sat, Apr 12, 2014 at 4:18 PM, Cecil Westerhof > <cldwester...@gmail.com>wrote: > >> 2014-04-12 16:51 GMT+02:00 Patrick Kristiansen <patr...@patrkris.dk>: >> >>> >>> http://stackoverflow.com/questions/4759570/finding-number-of-cores-in-java >>> >> >> Thanks. I use now: >> (. (. Runtime (getRuntime)) availableProcessors) >> > -- Cecil Westerhof -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.