[fpc-devel] simpleipc issues

2015-09-15 Thread Ondrej Pokorny
I've developed a "single/multiple instances" feature for the Lazarus IDE. For this feature I need an IPC. First I tried to use simpleipc but I have struggled on bugs and missing functionality. Particularly what I found: 1.) BUG: You can register multiple servers on Windows with the same name

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Tomas Hajny
On Tue, September 15, 2015 08:58, Michael Van Canneyt wrote: > On Mon, 14 Sep 2015, Ondrej Pokorny wrote: > >> I've developed a "single/multiple instances" feature for the Lazarus >> IDE. For >> this feature I need an IPC. First I tried to use simpleipc but I have >> struggled on bugs and missing

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Michael Van Canneyt
On Mon, 14 Sep 2015, Ondrej Pokorny wrote: I've developed a "single/multiple instances" feature for the Lazarus IDE. For this feature I need an IPC. First I tried to use simpleipc but I have struggled on bugs and missing functionality. Particularly what I found: 1.) BUG: You can register

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Ondrej Pokorny
On 15.09.2015 08:58, Michael Van Canneyt wrote: On Mon, 14 Sep 2015, Ondrej Pokorny wrote: I've developed a "single/multiple instances" feature for the Lazarus IDE. For this feature I need an IPC. First I tried to use simpleipc but I have struggled on bugs and missing functionality.

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Michael Van Canneyt
On Tue, 15 Sep 2015, Ondrej Pokorny wrote: On 15.09.2015 08:58, Michael Van Canneyt wrote: On Mon, 14 Sep 2015, Ondrej Pokorny wrote: I've developed a "single/multiple instances" feature for the Lazarus IDE. For this feature I need an IPC. First I tried to use simpleipc but I have

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Jonas Maebe
On 15/09/15 13:33, Ondrej Pokorny wrote: This is because Michael Van Canneyt pointed me to "man sem_overview". The first Google search pointed me to http://linux.die.net/man/7/sem_overview where I found the "Named semaphores" with functions sem_open, sem_close etc. with the description that

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Ondrej Pokorny
On 15.09.2015 13:22, Michael Schnell wrote: On 09/15/2015 01:09 PM, Michael Van Canneyt wrote: IPC = Inter PROCESS Communication. I know that you know this, but Ondrej is talking about cthreads in one of his message, so I tried to politely set a trigger. -Michael This is because Michael

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Michael Van Canneyt
On Tue, 15 Sep 2015, Michael Schnell wrote: On 09/14/2015 03:56 PM, Ondrej Pokorny wrote: 3.) MISSING: Multiple clients (from different processes) talk to one server. 4.) MISSING: Client is able to receive a response on a request. 5.) MISSING: (Optionally, not default) client sends a

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Michael Schnell
On 09/15/2015 01:09 PM, Michael Van Canneyt wrote: IPC = Inter PROCESS Communication. I know that you know this, but Ondrej is talking about cthreads in one of his message, so I tried to politely set a trigger. -Michael ___ fpc-devel maillist -

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Tomas Hajny
On Tue, September 15, 2015 10:04, Michael Van Canneyt wrote: > On Tue, 15 Sep 2015, Ondrej Pokorny wrote: . . >> Are there some high level crossplatform semaphore functions in the FCL? >> The >> cthreads/cIntSemaphoreOpen etc. seem to be available on unix only. What >> about >> OS/2? > >

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Michael Van Canneyt
On Tue, 15 Sep 2015, Tomas Hajny wrote: On Tue, September 15, 2015 10:04, Michael Van Canneyt wrote: On Tue, 15 Sep 2015, Ondrej Pokorny wrote: . . Are there some high level crossplatform semaphore functions in the FCL? The cthreads/cIntSemaphoreOpen etc. seem to be available on unix only.

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Michael Schnell
On 09/14/2015 03:56 PM, Ondrej Pokorny wrote: 3.) MISSING: Multiple clients (from different processes) talk to one server. 4.) MISSING: Client is able to receive a response on a request. 5.) MISSING: (Optionally, not default) client sends a request to a server that isn't running. The server is

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Michael Schnell
On 09/15/2015 02:43 PM, Michael Van Canneyt wrote: With my paranoid mind I of course assumed you were hijacking the thread... Of course I was eagerly waiting on Ondrej to confirm that he was looking for thread support :-) :-) :-) -Michael ___

Re: [fpc-devel] simpleipc issues

2015-09-15 Thread Michael Van Canneyt
On Tue, 15 Sep 2015, Michael Schnell wrote: On 09/15/2015 01:09 PM, Michael Van Canneyt wrote: IPC = Inter PROCESS Communication. I know that you know this, but Ondrej is talking about cthreads in one of his message, so I tried to politely set a trigger. With my paranoid mind I of