Liste des Groupes | Revenir à cu programmer |
Muttley@DastardlyHQ.org writes:On Mon, 06 Jan 2025 15:05:33 GMT>
scott@slp53.sl.home (Scott Lurndal) wibbled:Muttley@DastardlyHQ.org writes:>In Windows yes, which frankly is probably not a coincidence. Not so much>
in unix unless you're writing a GUI program.
ASTs and unix signals have similar semantics. It's certainly possible to
use, for example, SIGIO in a similar manner to the VMS AST, where the
AST signals I/O completion and the AST handler initiates a subsequent
operation.
Unix signals should only be used to set flags that are then read later.
You're opinion is not widely shared. Note that the POSIX specification
carefully notes which interfaces are not signal-safe.
Les messages affichés proviennent d'usenet.