Changeset bc310a05 in mainline for uspace/app/taskdump/taskdump.c


Ignore:
Timestamp:
2010-01-23T20:18:38Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d21b53, fea0ce6
Parents:
03333bc
Message:

Make taskdump output faster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskdump/taskdump.c

    r03333bc rbc310a05  
    6666        int rc;
    6767
     68        /*
     69         * FIXME: The stdio module cannot currently detect whether we are
     70         * writing to a console or file. This workaround make file output
     71         * faster.
     72         */
     73        setvbuf(stdout, NULL, _IOFBF, 32768);
     74
    6875        printf("Task Dump Utility\n");
    6976        dump_memory = false;
Note: See TracChangeset for help on using the changeset viewer.