Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Avoid lock when child dies
[src/app-framework-binder.git]
/
src
/
afb-debug.h
diff --git
a/src/afb-debug.h
b/src/afb-debug.h
index
4723cd0
..
a535b02
100644
(file)
--- a/
src/afb-debug.h
+++ b/
src/afb-debug.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright
2017 IoT.bzh
+ Copyright
(C) 2017-2019 "IoT.bzh"
author: José Bollo <jose.bollo@iot.bzh>
author: José Bollo <jose.bollo@iot.bzh>
@@
-18,12
+18,16
@@
#pragma once
#pragma once
-#if
defined(AGL_DEVEL)
&& !defined(AFB_INSERT_DEBUG_FEATURES)
+#if
AGL_DEVEL
&& !defined(AFB_INSERT_DEBUG_FEATURES)
# define AFB_INSERT_DEBUG_FEATURES
#endif
#if defined(AFB_INSERT_DEBUG_FEATURES)
extern void afb_debug(const char *key);
# define AFB_INSERT_DEBUG_FEATURES
#endif
#if defined(AFB_INSERT_DEBUG_FEATURES)
extern void afb_debug(const char *key);
+extern void afb_debug_wait(const char *key);
+extern void afb_debug_break(const char *key);
#else
#else
-#define afb_debug(x) ((void)0)
+#define afb_debug(x) ((void)0)
+#define afb_debug_wait(x) ((void)0)
+#define afb_debug_break(x) ((void)0)
#endif
#endif