I would also refer to my previous post, and ask why would you want a delay in there, what are you trying to do? It is often better to express what you want to do, and then we can provide a solution rather than just explaining interaction issues such as these. In real 'real-time'/event driven programming using something like delay() in a non-preemptive system would be frowned upon.
I would also refer to my previous post, and ask why would you want a delay in there, what are you trying to do? It is often better to express what you want to do, and then we can provide a solution rather than just explaining interaction issues such as these. In real 'real-time'/event driven programming using something like delay() in a non-preemptive system would be frowned upon.