]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/utils/sendburst_rtl.c
Added missing indication CAN_ENDSF_MEM_RTL for RTL pool malloc.
[lincan.git] / lincan / utils / sendburst_rtl.c
index 45a69fd16b9627f9585522e85a77b3582d14cfad..94a3e0480a79a61fe8c2dc267e874d178f1d6716 100644 (file)
@@ -115,5 +115,8 @@ int init_module(void) {
 }
 
 void cleanup_module(void) {
-        pthread_delete_np (t1);
+        /*pthread_delete_np (t1);*/
+       
+       pthread_cancel(t1);
+       pthread_join(t1, NULL);
 }