Changeset 118 in flair-src for trunk/lib/FlairCore/src/FrameworkManager_impl.cpp
- Timestamp:
- 11/17/16 11:57:29 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/FrameworkManager_impl.cpp
r67 r118 37 37 #ifdef __XENO__ 38 38 #include <native/task.h> 39 #include <rtdk.h> 39 40 #endif 40 41 … … 119 120 sa.sa_flags = SA_SIGINFO; 120 121 sigaction(SIGDEBUG, &sa, NULL); 121 #else 122 #else //SIGDEBUG 122 123 signal(SIGXCPU, warn_upon_switch); 123 #endif 124 124 #endif //SIGDEBUG 125 125 string task_name = "Framework_" + name; 126 127 // Perform auto-init of rt_print buffers if the task doesn't do so 128 rt_print_auto_init(1); 129 // Initialise the rt_print buffer for this task explicitly 130 rt_print_init(512, task_name.c_str()); 131 126 132 int status = rt_task_shadow(NULL, task_name.c_str(), 10, 0); 127 133 if (status != 0) {
Note:
See TracChangeset
for help on using the changeset viewer.