delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/08/27/11:01:09.1

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: file system library
Date: 27 Aug 2004 14:53:20 GMT
Lines: 25
Message-ID: <2p9070FijafgU2@uni-berlin.de>
References: <cgnf0d$a6a$1 AT s5 DOT feed DOT news DOT oleane DOT net>
X-Trace: news.uni-berlin.de aSKbsdgk48qlAySoLRVK4gSCOET9COgElO6GagobGXJMW6ltPcq03J9nJT
X-Orig-Path: not-for-mail
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

philippe meynard <philippe DOT meynard AT vendeeconcept DOT com> wrote:

> I look for a library file system FAT write in C without using BIOS
> call (like linux) because bios is not reentrant

You're working under wrong assumptions --- your *harddisk* itself
isn't actually reentrant, either: it has only one arm, and will
position/read only one block of data at a time, so there's nothing to
be lost by non-reentrant BIOS calls.

And while we're at it, please note that the FAT file system itself is
not "reentrant", either, i.e. it's not prepared to support concurrent
accesses by more than one independent thread of control.

> and not real time.

Real-time means so many different things to different people that it's
become almost meaningless as a term by itself.  But for most usual
interpretations, harddisks aren't real-time devices any more than
they're reentrant.


-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019