> Reading through hal_lib.c > > This line seems wrong: > > https://github.com/LinuxCNC/linuxcnc/blob/2.8/src/hal/hal_lib.c#L3406 > > In that there is a tmax parameter, and there is also a time _pin_. So > the code can't just be enabled and expected to work. > > It is called by thread_delete, and also as part of rtapi_app_exit. But > I suspect that in the latter case the fact that the next thing that > happens is rtapi_shmem_delete might make it unimportant.
Guess HAL memory should be allocated just once at startup and freed then exit. If memory is not freed then exit I think Linux will free it automatically. Nicklas Karlsson _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers