Hmm, I do not know much about pipes. Inspecting a running ECL, I see that
it does not hang in ECL, but in the C library: in open()
Attaching to program: `/Users/jjgarcia/bin/ecl', process 49213.
Reading symbols for shared libraries ++.. done
0x7fff86e3543e in open ()
(gdb) info threads
On Sun, Jan 15, 2012 at 9:28 AM, Philipp Marek phil...@marek.priv.atwrote:
I've had strace running on ECL, and got this:
cl-user (open /tmp/a :direction :output :if-exists :overwrite)
open(/tmp/a, O_RDONLY
I see. I did not notice the line where gdb stopped. It seems this is legacy
code
Hmm, I do not know much about pipes. Inspecting a running ECL, I see that
it does not hang in ECL, but in the C library: in open()
Attaching to program: `/Users/jjgarcia/bin/ecl', process 49213.
Reading symbols for shared libraries ++.. done
0x7fff86e3543e in open ()
(gdb) info threads
2
I am trying to comunicate using named pipes. First create
a fifo:
mkfifo fromA
On one terminal start:
cat fromA
On the second start ecl and try:
(setf ofil (open fromA :direction :output :if-exists :append))
Apparently ecl hangs in open.
The same if I use:
(setf ofil (open fromA