- Initialize the lock as well
Found by Christoph Niethammer using the mpi_test_suite This commit was SVN r19523.
Этот коммит содержится в:
родитель
8558ba1f51
Коммит
1d7fd1f51d
@ -256,6 +256,9 @@ static void file_constructor(ompi_file_t *file)
|
||||
/* Construct the io request freelist */
|
||||
OBJ_CONSTRUCT(&file->f_io_requests, opal_list_t);
|
||||
|
||||
/* Construct the per-module io request freelist */
|
||||
OBJ_CONSTRUCT(&file->f_io_requests_lock, opal_mutex_t);
|
||||
|
||||
/* If the user doesn't want us to ever free it, then add an extra
|
||||
RETAIN here */
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user