[PATCH] Cygwin: pipe: Give up to use query_hdl for non-cygwin apps.

ASSI Stromeko@nexgo.de
Sun Mar 3 10:39:40 GMT 2024


Takashi Yano writes:
>> After noticing that we enumerate all the processes (which is an expensive
>> operation) just to skip all of the non-Cygwin ones anyway, I wonder if it
>> wouldn't be smarter to go through the internal list of cygpids and take it
>> from there, skipping the `SystemProcessInformation` calls altogether.
>
> Yeah, that makes sens. I'll submit v2 patch.

Keep in mind that there may be different independent Cygwin
installations running on the same nachine.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs


More information about the Cygwin-patches mailing list