Article View: comp.sys.acorn.tech
Article #316Re: RISC-OS apps in modules
From: David Alan Gilbert
Date: Tue, 13 Oct 1992 07:45
Date: Tue, 13 Oct 1992 07:45
29 lines
1782 bytes
1782 bytes
In <1992Oct12.161759.2143@infodev.cam.ac.uk> idg10@cl.cam.ac.uk (I.D. Griffiths) writes: <stuff about cmgh and the c compiler and problems etc. > >*logon from within a task window under NFS causes the machine to hang. (yup! >NFS is written in C, even some of the low level bits...) So basically if two >tasks written in C are running at once, the machine will hang. Obviously this >only applies to SVC mode C, since user mode apps obviously seem to work. Oh! Thats why Desktop C is incompatible with NFS! Doesn't that meen you could never write a filing system using cmhg - since everything using it would fall over? (Ah yes....NFS!) What limitations arise from this - i.e. I have written a module in C and it works OK. It provides a *command, and a number of SWI's. Both of these seem to work OK in a task window - why should they - especialy the star command which prints out quite a bit of information. Does it meen I cant call a SWI in another C module, even if I preserve R14_svc? If so, would it fail if it wrote any data to (say) an NFS mounted file? - Or is this completely different? Dave -- ------------------------------------------------------------------------------- - David Alan Gilbert - gilbertd@p4.cs.man.ac.uk - G7FHJ@GB7NWP - ------(Programmers don't sleep - they just park their heads)-------------------
Technical Details
Message-ID:
<gilbertd.718962306@p4.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!p4.cs.man.ac.uk!gilbertdReferences:
<BuwFpr.Kzy@cantua.canterbury.ac.nz> <1992Oct12.161759.2143@infodev.cam.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!p4.cs.man.ac.uk!gilbertd From: gilbertd@p4.cs.man.ac.uk (David Alan Gilbert) Newsgroups: comp.sys.acorn.tech Subject: Re: RISC-OS apps in modules Message-ID: <gilbertd.718962306@p4.cs.man.ac.uk> Date: 13 Oct 92 07:45:06 GMT References: <BuwFpr.Kzy@cantua.canterbury.ac.nz> <1992Oct12.161759.2143@infodev.cam.ac.uk> Sender: news@cs.man.ac.uk Lines: 29