Changeset a064d4f in mainline for kernel/generic/src/console/cmd.c


Ignore:
Timestamp:
2024-01-15T15:39:09Z (12 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
0f4f1b2
Parents:
5861b60
Message:

Make thread_join() imply thread_put()

This makes the function more similar to traditional threading APIs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/cmd.c

    r5861b60 ra064d4f  
    10061006                        thread_ready(thread_ref(thread));
    10071007                        thread_join(thread);
    1008                         thread_put(thread);
    10091008                } else
    10101009                        printf("Unable to create thread for cpu%u\n", i);
Note: See TracChangeset for help on using the changeset viewer.