smb_shr_publisher
static void *smb_shr_publisher(void *);
rc = pthread_create(&publish_thr, &tattr, smb_shr_publisher, 0);