Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-19 Thread Sven Barth via fpc-pascal
Am 19.07.2017 18:45 schrieb "Anthony Walter" : > > Nah thanks, I can implement them with native functions on windows, mac, and linux easily enough and with $ifdefs. I am just surprised by the thought process involved in removing them. As Charlie said, that functionality was never intended for publ

Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-19 Thread Karoly Balogh (Charlie/SGR)
Hi, On Wed, 19 Jul 2017, Anthony Walter wrote: > Thanks for that bit of information Charlie. I should have searched the > svn logs. > > (...) > > It just seems to me like the concept of a semaphore has been well > established in CS for decades and it's a bit weird to remove them from > the rtl. T

Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-19 Thread Anthony Walter
Nah thanks, I can implement them with native functions on windows, mac, and linux easily enough and with $ifdefs. I am just surprised by the thought process involved in removing them. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://list

Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-19 Thread Benjamin Rosseaux
You could use TPasMPSemaphore from my PasMP project ( https://github.com/BeRo1985/pasmp/ and respectively https://github.com/BeRo1985/pasmp/blob/master/src/PasMP.pas ) which is also cross-platform-capable. On Wed, Jul 19, 2017 at 6:29 PM, Anthony Walter wrote: > Thanks for that bit of informatio

Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-19 Thread Anthony Walter
Thanks for that bit of information Charlie. I should have searched the svn logs. As a note to this, I am using semaphores quite a bit in SDL2 to guard against things like changes to audio banks in the ui thread and reading audio sample bits in the audio mixer thread, which SDL2 sets up whenever yo

Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-19 Thread Karoly Balogh (Charlie/SGR)
Hi, On Wed, 19 Jul 2017, Anthony Walter wrote: > When and why were semaphores removed from the rtl? They are removed from trunk since Sept 2016, and I think they were deprecated for a while now, although I cannot confirm this. But what's sure, they were only implemented and used interally for Un

[fpc-pascal] Semaphores removed from the rtl?

2017-07-19 Thread Anthony Walter
When and why were semaphores removed from the rtl? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TInterfacedObject destructor reentrance bug

2017-07-19 Thread African Wild Dog
2017-07-16 6:03 GMT-03:00 Michael Van Canneyt : > > > Please report it in the bugtracker, so it won't be forgotten. > > Michael. > Done. #0032168 . Regards ___ fpc-pascal maillist - fpc-pascal@lists.fre