[fpc-pascal] Writeln in threads
Is writeln thread safe? I’m getting some strange crashes and I’m curious if they’re related to calling writeln on multiple threads. Regards, Ryan Joseph ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Writeln in threads
> Is writeln thread safe? In console application, IMHO yes. But If you use writeln in a Windows environnement or with LCL widget, it could not be safe. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Writeln-in-threads-tp5727683p5727684.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] FPC 3.0.2 released!
Hello, Finally, FPC 3.0.2 has landed. FPC 3.0.2 is an update to 3.0.0 that contains some compiler bugfixes and library progress since 3.0.0 Building is still in progress and some formats (deb) and other minor targets might not be available yet. Changes that may break backwards compatibility are documented at: http://wiki.freepascal.org/User_Changes_3.0.2 Due to issues with mirroring, please use sourceforge as much as possible, http://sourceforge.net/projects/freepascal/files/ or the main (Hungarian) FTP server at ftp://www.hu.freepascal.org/pub/fpc/dist/3.0.2 Enjoy! The FreePascal team Free Pascal Compiler Version 3.0.2 ** What's New in 3.0.2 ** Free Pascal 3.0.2 is a point release of the 3.0.x fixes branch. Please also see http://wiki.freepascal.org/User_Changes_3.0.2 for a list of changes that may affect the behaviour of previously working code, and how to cope with these changes. Some highlights are: Rtl: * TRect, TPoint and similar types are now type compatible between Types and Windows unit, and are now advanced records. Packages: * googleapi and fcl-pdf packages. * fcl-db and web packages synchronized * unicode tables updated. See http://bugs.freepascal.org/changelog_page.php for the list of reported bugs which have been fixed in this release. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Writeln in threads
On 17/02/17 12:43, Ryan Joseph wrote: Is writeln thread safe? I’m getting some strange crashes and I’m curious if they’re related to calling writeln on multiple threads. Unlikely. The output from different threads can be mixed at weird places since it all goes to the same file handle and buffer flushes can interleave, but every thread gets its own copy of the standard IO buffer structures. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 3.0.2 released!
Excellent news, congrats. Could that site be used (it seems up-dated and it is used in many docu) ? http://www.freepascal.org/download.var Thanks. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/FPC-3-0-2-released-tp5727685p5727687.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 3.0.2 released!
In our previous episode, fredvs said: > Excellent news, congrats. > > Could that site be used (it seems up-dated and it is used in many docu) ? > > http://www.freepascal.org/download.var It's done here, maybe sb else did it already. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal