flux-framework / dyad

DYAD: DYnamic and Asynchronous Data Streamliner
GNU Lesser General Public License v3.0
7 stars 5 forks source link

Dynamically determine the mode between producer and consumer #10

Closed JaeseungYeom closed 1 year ago

JaeseungYeom commented 2 years ago

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.

JaeseungYeom commented 1 year ago

PR #16