Ignore:
Timestamp:
2025-03-05T21:40:21Z (4 days ago)
Author:
Matěj Volf <git@…>
Children:
5208709
Parents:
df2b4ce7
git-author:
Matěj Volf <git@…> (2025-01-17 14:14:59)
git-committer:
Matěj Volf <git@…> (2025-03-05 21:40:21)
Message:

Add fibril exit hook

File:
1 edited

Legend:

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

    rdf2b4ce7 r6a57b93  
    7070        fibril_owner_info_t *waits_for;
    7171        fibril_event_t *sleep_event;
     72
     73        list_t exit_hooks;
    7274};
     75
     76typedef struct {
     77        link_t link;
     78        void (*func)(void);
     79} fibril_hook_t;
    7380
    7481extern fibril_t *fibril_alloc(void);
Note: See TracChangeset for help on using the changeset viewer.