Re: [fpc-pascal] how to use signals in freepascal?

2015-03-16 Thread Xiangrong Fang
You should not use this in fact, it is meant for internal use. To write a signal handler on unix, see http://www.freepascal.org/docs-html/rtl/baseunix/fpsigaction.html there is an example. ​I tried example57, it worked, but I still do not know some peculiar behaviors in it​. I will ask

[fpc-pascal] Internet audio streaming ?

2015-03-16 Thread fredvs
Hello. I have some problem with audio internet streaming. I would like to do it with mpg123 + portaudio libraries but... Here is the procedure used by mpg123 = mpg123_open_fd = function( mh:Tmpg123_handle; fd: Integer). I have sent to mpg123-forum that question = Hello and congratulation for

Re: [fpc-pascal] fgl.TFPGMap / operator not overloaded for object types

2015-03-16 Thread denisgolovan
Alternatively you can use THashMap from Generics.Collections - this implementation don't need any operators overloading, will work with most of FreePascal types and it is much, much faster :) Yes. I saw your library. Looks promising, but I am a bit concerned about amount of bugs related to

Re: [fpc-pascal] Google Code closing down

2015-03-16 Thread Lukasz Sokol
On 14/03/15 12:25, Florian Klaempfl wrote: Am 14.03.2015 um 12:45 schrieb Graeme Geldenhuys: On 2015-03-14 11:38, Mark Morgan Lloyd wrote: [Sigh] I feel like I'm being pushed onto git rather than Subversion. Then don't resist it. As 99% of developers would tell you, [...] is simply the

[fpc-pascal] [total offtopic] Re: Google Code closing down

2015-03-16 Thread Lukasz Sokol
On 16/03/15 11:10, Paul Breneman wrote: On 03/16/2015 05:18 AM, Lukasz Sokol wrote: On 14/03/15 12:25, Florian Klaempfl wrote: Am 14.03.2015 um 12:45 schrieb Graeme Geldenhuys: On 2015-03-14 11:38, Mark Morgan Lloyd wrote: [Sigh] I feel like I'm being pushed onto git rather than Subversion.

Re: [fpc-pascal] Google Code closing down

2015-03-16 Thread Paul Breneman
On 03/16/2015 05:18 AM, Lukasz Sokol wrote: On 14/03/15 12:25, Florian Klaempfl wrote: Am 14.03.2015 um 12:45 schrieb Graeme Geldenhuys: On 2015-03-14 11:38, Mark Morgan Lloyd wrote: [Sigh] I feel like I'm being pushed onto git rather than Subversion. Then don't resist it. As 99% of

[fpc-pascal] how to use signals in freepascal?

2015-03-16 Thread Xiangrong Fang
Hi All, I have some questions regarding event and signals: 1) RTLEventWaitFor can a program waiting for an RTLEvent be notified by an RTLEventSet from ANOTHER process? 2) Unix Signals I see HookSignal() in the sysutils documentation, but there is nothing said on how to use it. Is it used to

Re: [fpc-pascal] how to use signals in freepascal?

2015-03-16 Thread Michael Van Canneyt
On Mon, 16 Mar 2015, Xiangrong Fang wrote: Hi All, I have some questions regarding event and signals: 1) RTLEventWaitFor can a program waiting for an RTLEvent be notified by an RTLEventSet from ANOTHER process? 2) Unix Signals I see HookSignal() in the sysutils documentation, but there

Re: [fpc-pascal] how to use signals in freepascal?

2015-03-16 Thread Jonas Maebe
On 16 Mar 2015, at 15:54, Xiangrong Fang wrote: 1) RTLEventWaitFor can a program waiting for an RTLEvent be notified by an RTLEventSet from ANOTHER process? No, use http://www.freepascal.org/docs-html/fcl/simpleipc/index.html instead. Jonas

Re: [fpc-pascal] fgl.TFPGMap / operator not overloaded for object types

2015-03-16 Thread Maciej Izak
Alternatively you can use THashMap from Generics.Collections - this implementation don't need any operators overloading, will work with most of FreePascal types and it is much, much faster :) http://bugs.freepascal.org/view.php?id=27206 (download generics_collections_final.zip -