JohannesDahlstrom comments on Rationality quotes - May 2009 - Less Wrong

6 Post author: Kaj_Sotala 19 May 2009 07:30PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (98)

You are viewing a single comment's thread.

Comment author: JohannesDahlstrom 20 May 2009 12:57:52PM *  4 points [-]

From comp.lang.c++.moderated:

This is just a simple example to illustrate the mechanics of the problem. The actual system is far more complex. For the sake of argument suppose that f passes the Handle to a different thread context that destroys the Handle during one of three distinct timeframes depending on the runtime environment. Either (1) before the constructor returns; (2) after the constructor returns and before the assigned handle is destroyed; or (3) after the assigned handle is destroyed. The problem occurs in case 1. -Andrew.

That doesn't make it any less flawed; it just demonstrates that it's flawed in a complex manner.

Kevin P. Barry