Summary

check that foreign callback returns take place in the correct order

Metadata

Description

Multiple threads or use of continuations may result in returns from foreign callbacks happen not in the required order. By keeping a stack of addresses (for example from a local variable in the callback entry) this could be checked by the runtime system.

Changes and comments

[2010-08-13 12:26:44 UTC] felix changed status from new to closed

[2010-08-13 12:26:44 UTC] felix set resolution to fixed

[2010-08-13 12:26:44 UTC] felix wrote:

Currently only a check for returning twice from the same callback has been implemented by setting a flag inside the callback return-continuation closure, which should handle the case of code doing funny things with continuations.

[2011-04-04 08:31:00 UTC] felix removed milestone 4.6.0

[2011-04-04 08:31:00 UTC] felix wrote:

Milestone 4.6.0 deleted