Changeset 5462a30 in mainline
- Timestamp:
- 2009-07-21T22:02:36Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e3a44a
- Parents:
- 84683fdc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/trace.c
r84683fdc r5462a30 617 617 (void) arg; 618 618 619 printf("cev_fibril()\n");620 619 while (true) { 621 printf("cev_fibril: wait for cev_valid == 0\n");622 620 fibril_mutex_lock(&state_lock); 623 621 while (cev_valid) … … 625 623 fibril_mutex_unlock(&state_lock); 626 624 627 printf("cev_fibril: wait for key\n");628 629 625 if (!console_get_event(fphone(stdin), &cev)) 630 626 return -1; 631 632 printf("cev_fibril: broadcast cev_valid = 1\n");633 627 634 628 fibril_mutex_lock(&state_lock); … … 669 663 670 664 while (!done) { 671 printf("trace_task: wait for cev_valid || abort_trace\n");672 665 fibril_mutex_lock(&state_lock); 673 666 while (!cev_valid && !abort_trace) 674 667 fibril_condvar_wait(&state_cv, &state_lock); 675 668 fibril_mutex_unlock(&state_lock); 676 677 printf("trace_task: got something\n");678 669 679 670 ev = cev;
Note:
See TracChangeset
for help on using the changeset viewer.