Script getting stuck in while trying to continuously read from a pipe in a while loop
I am trying to implement a script in which a pipe is getting created and the default value 0 is stored in the pipe. Simultaneously, a c code file is getting executed which based on a condition updates the value in pipe to 1.