From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public From: dirk@rubens.its.unimelb.edu.au (Dirk van der Knijff) Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/28 Message-ID: <1997Oct28.095528@rubens.its.unimelb.edu.au>#1/1 X-Deja-AN: 286124438 References: <3456700e.14141203@news.demon.co.uk> Organization: The University of Melbourne Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec In article <3456700e.14141203@news.demon.co.uk>, brian@shapes.demon.co.uk (Brian Drummond) writes: > Craig Burley wrote: > > > How does a FORTRAN programmer handle real-time things like processes? > Things like fork() and join(), and handling signals? > > Is there an analogous mechanism? > It depends on the OS - fork is not a c thing but a Unix thing - as an ex VMS hacker it was often amusing to see Unix c programmers trying to understand how non fork-based processes worked (and to see the problems that the DEC c implementors had getting something like fork to work - not to mention pipes etc) To really answer the question, fork is a system call and as such is available to all languages on the system (or should be) and so a fortran programmer just calls fork() exactly like his c programming friend does. dirk +-----------------------------------------------------------------------------+ | Dirk van der Knijff | INTERNET: dirk@its.unimelb.EDU.AU | | Research Support Officer | Phone: 61 (3) 9344 4897 | | Information Technology Services | FAX: 61 (3) 9347 4803 | | University of Melbourne | Mail: PARKVILLE 3052. AUSTRALIA. | +-----------------------------------------------------------------------------+ | "HPC is not the panacea for inefficient code" | +=============================================================================+