Currently, DYAD requires environment variables to distinguish between producer and consumer. This should change such that it can switch behavior based on how the file handled is open (e.g., write mode or read mode)
fcntl() can be useful to achieve this.
Currently, DYAD requires environment variables to distinguish between producer and consumer. This should change such that it can switch behavior based on how the file handled is open (e.g., write mode or read mode)
fcntl()
can be useful to achieve this.