Ignore:
Timestamp:
2023-07-14T12:41:19Z (12 months ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
ticket/834-toolchain-update
Children:
10e56b7
Parents:
b030416
git-author:
Vojtech Horky <vojtech.horky@…> (2023-07-13 20:05:54)
git-committer:
Vojtech Horky <vojtech.horky@…> (2023-07-14 12:41:19)
Message:

C++: mutex::init should be constexpr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/thread/fibril_synch.c

    rb030416 rc4c90c8  
    160160{
    161161        check_fibril_for_deadlock(oi, fibril_self());
    162 }
    163 
    164 void fibril_mutex_initialize(fibril_mutex_t *fm)
    165 {
    166         fm->oi.owned_by = NULL;
    167         fm->counter = 1;
    168         list_initialize(&fm->waiters);
    169162}
    170163
Note: See TracChangeset for help on using the changeset viewer.