<argument provided to the thread function prints g...
# community-feeds
r
argument provided to the thread function prints garbage in pthread I am trying to print value of argument which is provided to the thread function "monitor_loglevel_change_handler" as a last param in pthread_create() but it prints garbage instead of proper value. However, that is provided and printed properly earlier in the code see the comments ****(Updated my code further with minimum reproducible example as asked by others. Note I have put sleep intentionally in the main program so that thread function gets chance to run) #include #include #include...