TIP: Click on subject to list as thread! ANSI
echo: os2bbs
to: Peter Knapper
from: STEVE SWITZER
date: 1999-01-04 12:02:00
subject: OS/2 Event utility?

ÿ{at}ORIGIN :Binary Hurricane * 716-426-4115 * Rochester, NY             N
-> I suggest you look at using OS/2's REXX, it is ideal for doing this
-> type of work. I use it to serialize events that MUST happen in a
-> particular sequence, or when 2 different events CANNOT happen
-> together. When using the REXX SysSleep() call to wait for a flag,
-> exactly 0 CPU cycles are consumed.

Could you please send me an example of this? I have no idea how to use
REXX. Do you compile it? I'm duhhhh. :)

-> Then look into using SEMAPHORES or PIPES for triggering the events
-> rather than flag files. This means SysSleep() becomes redundant and
-> your system becomes a true event triggered environment.

The only thing I can do is a flag file... because half of the triggers
to this window will be coming from machines other than OS/2 computers...
so named pipes won't work. :( WEll, between HWAIT and Rexx, I'll come up
with something. :-)

                -Steve

--- PCB / GEcho 1.20/Pro
* Origin: Binary Hurricane * www.binaryh.com * Rochester, NY, USA (1:2613/405)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 284 371 634/397 635/444 506 728
SEEN-BY: 639/252 670/218
@PATH: 2613/405 5 140/1 396/1 633/260 635/506 728 633/267

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™.