TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Noon
from: George White
date: 1996-11-28 22:43:04
subject: Named Pipes

Hi David,

You wrote to Leslie Rhorer:

DN>I've received the scoop from IBM and have the basic semaphore
DN>interface working on my test-bed programs here. I wasn't able to use
DN>QBASIC very readily, since CALL ABSOLUTE stinks. As a result my test
DN>code is in C, compiled using Borland 3.1 and Watcom 10.6. The Borland
DN>compiler often generates some bad object code when manipulating the
DN>32-bit semaphore handles, so I am currently sticking with the 16-bit
DN>Watcom compiler for testing.

Borland 3.1 generates duff code if set to allow 386 code generation (it
can't do arithmetic on longs correctly :-( ). This took me some time to
track down in a large program when I added some code using long
variables (in fact they were file seeks and writes, it was seeking out
to 50 Meg in what was supposed to be a 10 Meg file, when it was actually
supposed to be accessing inside the first 100 K or so). If the code
generation is set back to 286 everything works OK (well, I've not yet
found any bugs with my C programs that I can blame on the compiler
rather than my code).

George

 * SLMR 2.1a * Desk: A very large wastebasket with drawers.

--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 440/4 141/209 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.