This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

CLEANUP_POINT_EXPR/WITH_CLEANUP_EXPR vs TRY_CATCH_EXPR


Per Bothner writes:
 > I am working on a try-finally type construct.  Specifically,
 > I am trying to implement the Java synchronized statement.

Modula-3 has the same try-finally construct and the language supports
threads so they have the same problems as Java. Their current compiler
has a gcc front end so you could check what they did.

HTH

Lieven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]