Let's say I have two callback handlers registered and within the handlers I do a thread-sleep! or thread-yield!. The C caller is the same for both (it's a busy handler), they are just invoked with different data. Now this sequence of events occurs:
thread 1 enters the callback thread 2 enters the callback thread 1 returns from the callback The strange results I get seem to indicate thread 1 is returning to C using the stack of thread 2. Is my approach fundamentally flawed? If this explanation doesn't make sense, I can try to write a self-contained demonstration. _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
