Re: [fpc-pascal] What to use when porting WaitForMultipleObjects to Linux?

2016-05-16 Thread Dmitry Boyarintsev
On Mon, May 16, 2016 at 9:01 AM, Bo Berglund wrote: > The Execute procedure handles everything going on and it acts on event > signals picked up (I believe) by the WaitForMultipleObjects calls. > > What I would like to know is how exactly to handle this in FreePascal > on

Re: [fpc-pascal] What to use when porting WaitForMultipleObjects to Linux?

2016-05-16 Thread Bo Berglund
On Mon, 16 May 2016 08:42:22 -0400, Dmitry Boyarintsev wrote: >On Mon, May 16, 2016 at 6:22 AM, Bo Berglund wrote: > >> When porting a Delphi console program on Windows to FreePascal on >> Linux, what can one do with API calls like

Re: [fpc-pascal] What to use when porting WaitForMultipleObjects to Linux?

2016-05-16 Thread Dmitry Boyarintsev
On Mon, May 16, 2016 at 6:22 AM, Bo Berglund wrote: > When porting a Delphi console program on Windows to FreePascal on > Linux, what can one do with API calls like WaitForMultipleObjects, > which is used to synchronize processing between threads? > It depends if you're

Re: [fpc-pascal] What to use when porting WaitForMultipleObjects to Linux?

2016-05-16 Thread Jonas Maebe
Bo Berglund wrote: When porting a Delphi console program on Windows to FreePascal on Linux, what can one do with API calls like WaitForMultipleObjects, which is used to synchronize processing between threads? http://www.freepascal.org/docs-html/rtl/system/rtleventcreate.html Jonas

[fpc-pascal] What to use when porting WaitForMultipleObjects to Linux?

2016-05-16 Thread Bo Berglund
When porting a Delphi console program on Windows to FreePascal on Linux, what can one do with API calls like WaitForMultipleObjects, which is used to synchronize processing between threads? I am not very familiar with the concept but was given advice on the Delphi forum to use it in a TCP/IP