Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c1b979a in mainline for uspace/lib/c/generic/fibril.c


Ignore:
Timestamp:
2014-07-11T23:06:30Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
78192cc7
Parents:
8e4a408
Message:

Taskdump printing of fibril stacktraces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/fibril.c

    r8e4a408 rc1b979a  
    5959static LIST_INITIALIZE(serialized_list);
    6060static LIST_INITIALIZE(manager_list);
     61static LIST_INITIALIZE(fibril_list);
    6162
    6263/** Number of threads that are executing a manager fibril. */
     
    116117       
    117118        fibril->waits_for = NULL;
     119        list_append(&fibril->all_link, &fibril_list);
    118120       
    119121        return fibril;
     
    122124void fibril_teardown(fibril_t *fibril)
    123125{
     126        list_remove(&fibril->all_link);
    124127        tls_free(fibril->tcb);
    125128        free(fibril);
Note: See TracChangeset for help on using the changeset viewer.