Re: [fpc-pascal] RTL semaphore supported?

2020-08-13 Thread Sven Barth via fpc-pascal
Ryan Joseph via fpc-pascal schrieb am Do., 13. Aug. 2020, 09:35: > > > > On Aug 13, 2020, at 12:42 PM, Sven Barth > wrote: > > > > The way to go with semaphores would be to implement the Delphi > compatible TSemaphore in the unit SyncObjs. > > Link? I'm looking at >

Re: [fpc-pascal] RTL semaphore supported?

2020-08-13 Thread Nico Neumann via fpc-pascal
It's not implemented yet, see https://bugs.freepascal.org/view.php?id=37440. For unix systems the pthread.inc already contains the API headers for the sem_* functions ( https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/linux/pthread.inc?view=markup=file#l183) but for Mac OS X 10.4.8 the

Re: [fpc-pascal] RTL semaphore supported?

2020-08-13 Thread Tomas Hajny
On 2020-08-13 07:42, Sven Barth via fpc-pascal wrote: Am 13.08.2020 um 06:36 schrieb Ryan Joseph via fpc-pascal: Are semaphores actually supported in the RTL? I don't see they're available on macOS (compiling with trunk even).

Re: [fpc-pascal] RTL semaphore supported?

2020-08-13 Thread Ryan Joseph via fpc-pascal
> On Aug 13, 2020, at 12:42 PM, Sven Barth wrote: > > The way to go with semaphores would be to implement the Delphi compatible > TSemaphore in the unit SyncObjs. Link? I'm looking at https://www.freepascal.org/docs-html/fcl/syncobjs/index-4.html and I don't see it. Regards, Ryan

Re: [fpc-pascal] RTL semaphore supported?

2020-08-12 Thread Sven Barth via fpc-pascal
Am 13.08.2020 um 06:36 schrieb Ryan Joseph via fpc-pascal: Are semaphores actually supported in the RTL? I don't see they're available on macOS (compiling with trunk even). https://www.freepascal.org/docs-html/3.0.0/rtl/system/semaphoreinit.html No, these functions where there only

[fpc-pascal] RTL semaphore supported?

2020-08-12 Thread Ryan Joseph via fpc-pascal
Are semaphores actually supported in the RTL? I don't see they're available on macOS (compiling with trunk even). https://www.freepascal.org/docs-html/3.0.0/rtl/system/semaphoreinit.html Regards, Ryan Joseph ___ fpc-pascal maillist -