global_data: add thread statistics structs
global_data: add thread statistics structs

rtapi_data is unsuitable since not all flavors have that as a shm segment
halcmd needs to be able to get at it though

bobvanderlinden/machinekit,kinsamanka/machinekit,cdsteinkuehler/linuxcnc,Cid427/machinekit,unseenlaser/machinekit,EqAfrica/machinekit,ArcEye/MK-Qt5,strahlex/machinekit,araisrobo/machinekit,ArcEye/machinekit-testing,EqAfrica/machinekit,ArcEye/machinekit-testing,Cid427/machinekit,ArcEye/MK-Qt5,kinsamanka/machinekit,RunningLight/machinekit,ArcEye/MK-Qt5,strahlex/machinekit,cdsteinkuehler/linuxcnc,cdsteinkuehler/MachineKit,bobvanderlinden/machinekit,Cid427/machinekit,ArcEye/machinekit-testing,strahlex/machinekit,kinsamanka/machinekit,ArcEye/MK-Qt5,bobvanderlinden/machinekit,RunningLight/machinekit,cdsteinkuehler/MachineKit,kinsamanka/machinekit,cdsteinkuehler/MachineKit,ArcEye/machinekit-testing,RunningLight/machinekit,unseenlaser/machinekit,cdsteinkuehler/MachineKit,ArcEye/MK-Qt5,Cid427/machinekit,unseenlaser/machinekit,cdsteinkuehler/MachineKit,ArcEye/MK-Qt5,unseenlaser/machinekit,bobvanderlinden/machinekit,cdsteinkuehler/linuxcnc,araisrobo/machinekit,RunningLight/machinekit,araisrobo/machinekit,kinsamanka/machinekit,EqAfrica/machinekit,RunningLight/machinekit,ArcEye/MK-Qt5,unseenlaser/machinekit,RunningLight/machinekit,araisrobo/machinekit,mhaberler/machinekit,strahlex/machinekit,mhaberler/machinekit,araisrobo/machinekit,ArcEye/machinekit-testing,kinsamanka/machinekit,araisrobo/machinekit,bobvanderlinden/machinekit,strahlex/machinekit,mhaberler/machinekit,ArcEye/machinekit-testing,EqAfrica/machinekit,cdsteinkuehler/linuxcnc,RunningLight/machinekit,cdsteinkuehler/MachineKit,Cid427/machinekit,mhaberler/machinekit,EqAfrica/machinekit,strahlex/machinekit,EqAfrica/machinekit,unseenlaser/machinekit,kinsamanka/machinekit,araisrobo/machinekit,cdsteinkuehler/linuxcnc,bobvanderlinden/machinekit,cdsteinkuehler/linuxcnc,EqAfrica/machinekit,ArcEye/machinekit-testing,mhaberler/machinekit,unseenlaser/machinekit,araisrobo/machinekit,unseenlaser/machinekit,RunningLight/machinekit,kinsamanka/machinekit,mhaberler/machinekit,strahlex/machinekit,ArcEye/MK-Qt5,bobvanderlinden/machinekit,mhaberler/machinekit,Cid427/machinekit,EqAfrica/machinekit,mhaberler/machinekit,Cid427/machinekit,bobvanderlinden/machinekit,Cid427/machinekit,ArcEye/machinekit-testing,araisrobo/machinekit