This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [basic-improvements] try/finally support for c/c++ - more tests


#define pthread_cleanup_push(routine_, arg_) \
  __builtin_cleanup_block(routine_, arg_) {

#define pthread_cleanup_pop(doit_) \
  __builtin_toggle_do_cleanup(doit_); }
Something like this is a much, much closer to what I think we should
do.

Thanks for working this through.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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