[PATCH] pipe-sink: new option "use_existing_fifo"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10.01.2018 19:06, Samo PogaÄ?nik wrote:
> Dne 10.01.2018 (sre) ob 08:36 +0100 je Georg Chini napisal(a):
>> On 09.01.2018 22:24, Samo PogaÄ?nik wrote:
>>> Allow usage of an already existing fifo (named pipe) upon module
>>> load. Also, the fifo is not going to be removed upon module unload,
>>> if "use_existing_fifo" option has been enabled.
>> I wonder if we really need a new option for this. Can't you just
>> check
>> if the file exists and use it if it is present? You could set a
>> do_not_unlink
>> flag if it exists to avoid removing an already existing file on exit.
> I'd be glad to make this change without additional option. My concern
> was that there might be some existing use case, where an exclusive fifo
> creation would have been required by the sink in some benificial way
> (like starting with an empty fifo, however this is not guarantied
> anyway).
>
I think it's OK without option.


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux