A
Size: a a a
A
Aß
A
Aß
A
AS
AS
SZ
MK
MK
SZ
A
A
A
SZ
A
A
my_struct_ptr = calloc(1, sizeof(*my_struct_ptr));
if (some_condition) {
my_struct_ptr->mutex = create_mutex(); // возвращает указатель на созданный мьютекс
}
....
if (my_struct_ptr->mutex != NULL)
destroy_mutex(my_struct_ptr->mutex);
Г
Г
Aß