ycy@walt.cc.utexas.edu (Joseph Yip) (04/14/90)
I am running a program using SunView functions, like window_create(), ... As I was reading the SunView manual, I noticed a section telling us that one should not use signal(), seitimer(), alarm(), ... inside SunView because they will cause problems and we should use functions from Notifier instead. I have a program using sigal() and etc. to do serial communication. I do not want to modify it. So, I am thinking of using pipe() and fork() functions inside my SunView program and then issue a execl() call to run my serial communication program. I understand that the child program after fork() will inherit all its parent's stuff. What about the the program called by execl()? Will that be a problem because the serial communication program is called by a SunView program? I was trying using the socket function and the two programs communicate well. Internally, pipe() uses sockets. So, I believe it should work too. Right? Thank you Joseph Yip