Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ramin Yaghoubzadeh Torky
ipaaca
Commits
80fb150d
Commit
80fb150d
authored
12 years ago
by
Ramin Yaghoubzadeh
Browse files
Options
Downloads
Patches
Plain Diff
added verbose handlers for thread debugging (disabled by default)
parent
a27febf5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ipaacalib/cpp/src/ipaaca.cc
+8
-0
8 additions, 0 deletions
ipaacalib/cpp/src/ipaaca.cc
with
8 additions
and
0 deletions
ipaacalib/cpp/src/ipaaca.cc
+
8
−
0
View file @
80fb150d
...
...
@@ -8,6 +8,8 @@ using namespace rsb::filter;
using
namespace
rsb
::
converter
;
using
namespace
rsb
::
patterns
;
#define VERBOSE_HANDLERS 0
// util and init//{{{
bool
Initializer
::
_initialized
=
false
;
...
...
@@ -238,7 +240,13 @@ void IUEventHandler::call(Buffer* buffer, boost::shared_ptr<IUInterface> iu, boo
if
(
_condition_met
(
event_type
,
category
))
{
//IUInterface::ptr iu = buffer->get(uid);
//if (iu) {
#if VERBOSE_HANDLERS == 1
std
::
cout
<<
"["
<<
pthread_self
()
<<
" handler ENTER]"
<<
std
::
endl
;
#endif
_function
(
iu
,
event_type
,
local
);
#if VERBOSE_HANDLERS == 1
std
::
cout
<<
"["
<<
pthread_self
()
<<
" handler EXIT]"
<<
std
::
endl
;
#endif
//}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment