Hello list, I have some problems with RTnet and threads. I create two thread via rt_task_spawn(), one is sending and one is receiving (non-blocking) frames over rtnet.
Each task is existed with return (I also tried rt_task_delete()) and the main-function is waiting for task-termination via rt_task_join(). When I run this program the first time, everything is fine. When I run it a second time without rebooting, I can't receive any more frames (returnvalue -1). So it seems that the termination of the tasks and the main-function from the first run failed to free the "RTnet resources", too. Any idea, what I'am doing wrong? Thanks in advance (... and good luck to the german team, for all the soccer fans out there) Karl -- von Karl Reichert ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users