cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/15/21:35:31

From: "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Volatile
Date: 11 Aug 1997 16:44:46 GMT
Organization: Hewlett-Packard
Lines: 11
Message-ID: <01bca675$cce25260$45111d0f@p1675cra.rose.hp.com>
References: <199708061619 DOT AA241634394 AT typhoon DOT rose DOT hp DOT com> <5sbq8s$jjd AT freenet-news DOT carleton DOT ca> <5sesa1$9sl$1 AT horus DOT mch DOT sni DOT de>
NNTP-Posting-Host: p1675cra.rose.hp.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> 
> There are library functions under UNIX for handling of shared memory and
semaphores, 
> does any on know wether DJGPP supports these facilities??

I wrote me own busy-wait semaphore code in NASM for use use in DJGPP.  Its
pretty trivial, just about 10 lines 
of code.  Take a variable, then do a 'bts' or 'btr' on it and a 'jc' to the
prior instruction.
   Its one of the programming examples in Intels old 386 handbook.

- Raw text -


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