Changes in uspace/app/trace/trace.c [07b7c48:a3b339b4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/trace.c
r07b7c48 ra3b339b4 565 565 static int cev_fibril(void *arg) 566 566 { 567 cons_event_t event;568 569 567 (void) arg; 570 568 … … 577 575 fibril_mutex_unlock(&state_lock); 578 576 579 if (!console_get_ event(console, &event))577 if (!console_get_kbd_event(console, &cev)) 580 578 return -1; 581 579 582 if (event.type == CEV_KEY) { 583 fibril_mutex_lock(&state_lock); 584 cev = event.ev.key; 585 cev_valid = true; 586 fibril_condvar_broadcast(&state_cv); 587 fibril_mutex_unlock(&state_lock); 588 } 580 fibril_mutex_lock(&state_lock); 581 cev_valid = true; 582 fibril_condvar_broadcast(&state_cv); 583 fibril_mutex_unlock(&state_lock); 589 584 } 590 585 }
Note:
See TracChangeset
for help on using the changeset viewer.