Re: [fpc-pascal] What happened to FileOpen in trunk?

2017-12-27 Thread Michael Van Canneyt
On Wed, 27 Dec 2017, Giuliano Colla wrote: In multi-thread applications in Linux environment, I'm using FIFO's for communicating between threads. In order to make it work properly, the FIFO must be opened in non blocking mode. Up to fpc 3.0.4 I've been successfully using code like this:

Re: [fpc-pascal] What happened to FileOpen in trunk?

2017-12-27 Thread Giuliano Colla
Il 27/12/2017 18:40, Michael Van Canneyt ha scritto: Your code was simply lucky to work in the beginning. It's not guaranteed that passing OS-Specific options to FileOpen will work. using fpOpen is the correct method, since you're using OS-specific features. Understood. Thanks a lot.

Re: [fpc-pascal] First pas2js public release

2017-12-27 Thread el_es
On 24/12/17 09:20, Ingemar Ragnemalm wrote: > > Den 2017-12-22 kl. 12:00, skrev Michael Van Canneyt: >> On Wed, 20 Dec 2017, Reimar Grabowski wrote: [...] >>> While you are updating your code you can remove the two >>> dependencies on bootstrap (as they are not satisfied anyway and I >>> think

[fpc-pascal] What happened to FileOpen in trunk?

2017-12-27 Thread Giuliano Colla
In multi-thread applications in Linux environment, I'm using FIFO's for communicating between threads. In order to make it work properly, the FIFO must be opened in non blocking mode. Up to fpc 3.0.4 I've been successfully using code like this: fdc := FileOpen(myFifo,fmOpenWrite or