Jump to content

IPC via named pipe: Difference between revisions

Use 'open' to avoid initial delay
(Added PicoLisp)
(Use 'open' to avoid initial delay)
Line 117:
 
(unless (fork) # Handle "in" pipe
(inlet P (open "in")
(loop
(in "in"P # Open twice, to avoid broken pipes
(while (rd 1) # (works on Linux, perhaps not POSIX)
(tell 'inc ''*Cnt) ) ) ) ) )
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.