[ros-users] ROS nodes & SIGINT handler

Josh Faust jfaust at willowgarage.com
Wed Sep 1 00:03:21 UTC 2010


On Tue, Aug 31, 2010 at 4:53 PM, Gautier Dumonteil <
gautier.dumonteil at gmail.com> wrote:

>  I saw that rosbag is multithreaded but I was not too aware that fork()
> without exec() is dangerous in that case.
> Anyway, I try fork()/exec() combination and it works fine.
>
>
Even fork()/exec() can be problematic.  If you're interested:

http://www.linuxprogrammingblog.com/threads-and-fork-think-twice-before-using-them
<http://www.linuxprogrammingblog.com/threads-and-fork-think-twice-before-using-them>
https://www.lsgalilei.org/glibc-doc/Threads-and-Fork.html

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100831/6ac76820/attachment-0002.html>


More information about the ros-users mailing list