[ros-users] ROS nodes & SIGINT handler
Gautier Dumonteil
gautier.dumonteil at gmail.com
Wed Sep 1 00:27:16 UTC 2010
Good to know.
fork()/exec() should be enough until Diamondback rosbag API.
Gautier
Le 31/08/2010 20:03, Josh Faust a écrit :
> On Tue, Aug 31, 2010 at 4:53 PM, Gautier Dumonteil
> <gautier.dumonteil at gmail.com <mailto: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
> https://www.lsgalilei.org/glibc-doc/Threads-and-Fork.html
>
> Josh
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /discuss/ros-users/attachments/20100831/d79b63a7/attachment.htm
More information about the ros-users
mailing list