[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] disable-interrupts
From: |
Joerg F. Wittenberger |
Subject: |
[Chicken-users] disable-interrupts |
Date: |
14 Jan 2003 17:20:38 +0100 |
Hi all,
can anybody help me with the meaning of "disable-interrupts"? As I
understand the generated code will not check for interrrupts during
the execution. Therefore there will be no thread context change
except explicitely via thread-yield! . (Is this correct?)
If I'm correct, this option desirable for code, which is short and
often used. Best if the code has a constant execution time. I do
have a few lines, which I'd like to compile that way. But in the very
same module I'd like to have code, which will run for too long to
ignore interrupts and other threads. Can I mix options for code
sections, or will I have to reorganize my whole module structure?
thanks a lot
/Jörg
--
The worst of harm may often result from the best of intentions.
- [Chicken-users] disable-interrupts,
Joerg F. Wittenberger <=