[ https://issues.apache.org/jira/browse/THRIFT-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Watson updated THRIFT-1280: -------------------------------- Attachment: 0090-0010-Thrift-improve-monitor.patch > Thrift: Improve Monitor exception-free interfaces > --------------------------------------------------- > > Key: THRIFT-1280 > URL: https://issues.apache.org/jira/browse/THRIFT-1280 > Project: Thrift > Issue Type: Improvement > Components: C++ - Library > Reporter: Dave Watson > Priority: Minor > Attachments: 0090-0010-Thrift-improve-monitor.patch > > > From 768369c358664e2344366a82b80530a6308f3c32 Mon Sep 17 00:00:00 2001 > From: Mark Rabkin <mrab...@fb.com> > Date: Tue, 16 Mar 2010 00:52:07 +0000 > Subject: [PATCH 09/33] Thrift: Improve Monitor exception-free interfaces > Summary: > Cleans up the code for the various variants of Monitor::wait() to reuse > code cleanly and to present exception-free variants for all types of waiting > (waiting forever, absolute timestamp, relative timeout). > The behavior of existing variants should be unchanged > Test Plan: run more thrift tests if you guys point me to them > - begin *PUBLIC* platform impact section - > Bugzilla: # > - end platform impact - > Conflicts: > lib/cpp/src/concurrency/Monitor.cpp > lib/cpp/src/concurrency/Monitor.h > --- > lib/cpp/src/concurrency/Monitor.cpp | 76 > ++++++++++++++++++++++++++--------- > lib/cpp/src/concurrency/Monitor.h | 34 +++++++++++++++- > 2 files changed, 89 insertions(+), 21 deletions(-) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira