On Sat, Apr 23, 2011 at 5:12 AM, Zlatko Josic <zlatko.jo...@gmail.com> wrote: > Hi, > I would like to start two progams from Eclipse. One is a server and the > other one is a client. > I use Load Clojure file in REPL from Eclipse menu. When I start the server > it never ends because > the server has endless loop where it waits for clients. Now when I start the > client programs it never > evaluates because REPL is busy with server program. I suppose it works as I > described. Maybe I am > wrong I am not sure. > Any ideas to overcame this situation are welcome.
Have the server spawning function (or both, if the client is GUI) just start a separate thread and immediately return. (In fact, servers normally are multithreaded anyway, aren't they, to be able to handle multiple concurrent incoming requests.) -- 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