| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | OS/2 Event utility? |
Hi Steve, SS> What is should do is, sit and wait for a semafore (flag) file, and SS> when it finally exists, exit with an errorlevel. This way, it can SS> constantly look for someting to do, and then exit back to it's calling SS> .CMD file for it to execute events. 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. 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. Good luck..........pk. --- Maximus/2 3.01* Origin: Another Good Point About OS/2 (3:772/1.10) 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: 772/1 270/101 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™.