diff options
Diffstat (limited to 'src/include/usr/initservice/taskargs.H')
-rw-r--r-- | src/include/usr/initservice/taskargs.H | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/usr/initservice/taskargs.H b/src/include/usr/initservice/taskargs.H index bf83e3ece..39156626c 100644 --- a/src/include/usr/initservice/taskargs.H +++ b/src/include/usr/initservice/taskargs.H @@ -229,6 +229,16 @@ public: /** + * @brief queryErrorLog + * + * Tasks can use this to determine if an error log has been posted. + * + * @return bool - True if postErrorLog called with non-NULL value. + */ + bool queryErrorLog( ) { return (iv_errl != NULL); }; + + + /** * @brief clear taskargs struct between uses * - barrier is left alone, * - if iv_errl is non zero, we commit it here just to avoid |