FPiette 383 Posted March 12, 2022 I'm converting some software of mine to cross platform (Mainly Windows and Linux). I have to replace Windows WaitForMultipleObjects where objects to be waited may be any combination of several pipe handles (ready to read), socket handles, mutex and semaphores. I don't see anything obvious in unit System.SyncObjs. Any help appreciated. Share this post Link to post
superflexible 1 Posted March 12, 2022 Hello, I don't think it will be easy ... personally I rewrote such code to use only a single wake-up event. But a Google search for WaitForMultipleObjects linux does have some interesting results, for example: https://news.ycombinator.com/item?id=20580626 There are Stackoverflow results too, but the site is down right now, so I can't check them. 1 Share this post Link to post
qubits 20 Posted March 13, 2022 (edited) quite interesting.. WaitForMultipleObjects Linux Not sure what is implemented in delphi already for linux. TEvent for sure. pevents github Edited March 13, 2022 by qubits 1 Share this post Link to post