[Ecls-list] Latest changes

Matthew Mondor mm_lists at pulsar-zone.net
Sun Mar 25 21:24:16 UTC 2012


On Sun, 25 Mar 2012 21:25:07 +0200
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:

> I am now seeing also weird problems in Linux with your server. Broken
> connections typically. Sometimes the server reports an error... I would
> like to debug this better, but it is hard to work simultaneously on the
> multithreading issues and the other (probably sockets related) problems. Is
> it possible to get rid of that giant lock you mentioned? Where is it in
> your server?

In ecl-mp-server.lisp, in accept-loop-thread:

(mp:with-lock (*accept-lock*)
  (socket-accept *server-socket*))

I should probably make this optional again (it used to be, but due to
problems I observed at initialization on both NetBSD and Linux I had
put it back inconditionally).
-- 
Matt




More information about the ecl-devel mailing list