| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | #12116-Intercepts |
#: 12122 S12/OS9/68000 (OSK)
08-Sep-91 00:43:10
Sb: #12116-Intercepts
Fm: Bob Taylor 73270,3124
To: Bob van der Poel 76510,2203
Bob,
Microware does not recommend doing I/O while in the intercept routine as
signals to that process are enqueued while in the intercept. You could lose
signals. Use of I/O in an intercept is therefore an application decision.
#include
intercept(sig)
{
switch (sig)
{
case SIGINT:
case SIGQUIT: cleanup();
}
}
Bob
|
|
| SOURCE: compuserve via textfiles.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™.