Silverfrost Forums

Welcome to our forums

Multithreading in win32

23 Nov 2005 11:31 #460

The ftn95 help has info on multithreading using .net (create_thread@ et. al.) but not in native win32 land. Before I take the plunge, am I likely to have any success using the win32 API (CreateThread and related fns) as in C/C++ or am I on a hiding to nothing ?

Thanks Alan

23 Nov 2005 1:29 #461

FTN95 has not been designed with multi-threading in mind in Win32 mode, but there are people who use CreateThread etc quite happily. IO used to be an issue, but the IO library was overhauled with the move to .NET so should now be thread safe. Basically, most things should work (standard Fortran of course, if you are using Clearwin+ then that may be a different story) but there may be the odd issue.

20 Jul 2006 1:35 #873

If you do want to turn off this switch manually then if you cannot find the option you could always specify it as an extra option within Plato or Visual Studio by completing the section for extra command line arguments. For full details of how command line switches work execute FTN95 /? at a command prompt. It will give you a full list of options. To disable the option SINGLE_THREADED you can either specify the option with a preceding '-' e.g. /-SINGLE_THREADED or you could specify the opposite switch /MULTI_THREADED.

Please login to reply.