www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/21/15:00:34

Xref: news-dnh.mv.net comp.os.msdos.djgpp:3358
Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!in2.uu.net!news.mathworks.com!tank.news.pipex.net!pipex!oleane!in2p3.fr!univ-lyon1.fr!news.imag.fr!ciril.fr!univ-lille1.fr!cict.fr!irit.fr!challier
From: challier AT eurydice DOT irit DOT fr (Jean-Marc CHALLIER)
Newsgroups: comp.os.msdos.djgpp
Subject: Semaphore / lock library ?
Date: 21 Nov 1995 14:34:41 GMT
Organization: IRIT-UPS, Toulouse, France
Lines: 25
Nntp-Posting-Host: lucie.irit.fr
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Hi, everyone !!!

	I wonder if there is a simple semaphore / lock / mutex library
available for DJGPP ? The point is that I don't want to write one
myself if it is going to be highly incompatible with something that
already exists...  I know some unixes have sys/sem.h, but DJGPP
doesn't seem to, and if it hasn't been ported yet to djgpp, I can write a
plain library (using the Test and Set opcodes of the i386) and release
it.

	For those who think it is completely useless since DOS is
single-threaded, I remind you that there is an optional task library
in djgpp, and (that's my purpose) there are hardware interrupts
occuring at (often) ill-chosen times.

CU

			Igx, The dreaming drummer...

-----------------------------------------------------------------------------
Igx, The dreaming drummer... in real(???) life : Jean-Marc CHALLIER
email : challier AT irit DOT fr		| J-M CHALLIER,
pmail : IR1-17, UPS, 18 rte de Narbonne | 18, Bd Griffoul Dorval
	31000 Toulouse - FRANCE		| 31400 Toulouse - FRANCE
phone : (33) 61-55-63-57		| Tel : (33) 62-16-35-92

- Raw text -


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