Changeset 8820544 in mainline for uspace/srv/taskmon/taskmon.c
- Timestamp:
- 2014-08-16T00:02:04Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 35b8bfe, 8cd680c
- Parents:
- 83f29e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskmon/taskmon.c
r83f29e0 r8820544 40 40 #include <sys/typefmt.h> 41 41 #include <task.h> 42 #include <event.h>43 42 #include <ipc/corecfg.h> 44 43 #include <loc.h> … … 53 52 static void corecfg_client_conn(ipc_callid_t , ipc_call_t *, void *); 54 53 55 static void fault_event(ipc_callid_t callid, ipc_call_t *call )54 static void fault_event(ipc_callid_t callid, ipc_call_t *call, void *arg) 56 55 { 57 56 const char *fname; … … 143 142 write_core_files = false; 144 143 #endif 145 if ( event_subscribe(EVENT_FAULT, 0) != EOK) {144 if (async_event_subscribe(EVENT_FAULT, fault_event, NULL) != EOK) { 146 145 printf("%s: Error registering fault notifications.\n", NAME); 147 146 return -1; … … 165 164 } 166 165 167 async_set_interrupt_received(fault_event);168 166 task_retval(0); 169 167 async_manager();
Note:
See TracChangeset
for help on using the changeset viewer.