Re: mt-safe ESQL/C programming
Posted in 1998
Kenneth Xu — — source: Informix-list mailing list archive (1991-1998)
No, I don't agree! Using thread at least have two advantages, first threads are not as costly as a process to OS, Communication between treads are much easier and fast then processes. Although, even each child do independent DB operation, they may need to share their variables or want to sync in certain point. Michael Segel wrote in message > >Why not avoid any potential problem by using fork() instead of >threads?If each child is going to maintain its own independant DB >connection, does >threads make sense? Or is it just fashionable? > >-Mikey >"Back to basics, is sometimes the best." > >