Nathalie Furmento
|
21a3263c57
src/common/utils.c: improve implementation of _starpu_mkdtemp_internal
|
8 jaren geleden |
Nathalie Furmento
|
89ec58cb54
minor fixes
|
8 jaren geleden |
Nathalie Furmento
|
6aa36701ae
src/common/utils.c: do not abort when failing to create tmp directory, return NULL instead
|
8 jaren geleden |
Nathalie Furmento
|
42f76c4ffb
src: implement _starpu_mkdtemp (either by using mkdtemp or when not available by using our own algorithm) and test it
|
8 jaren geleden |
Nathalie Furmento
|
9c38741e02
fix code to follow coding conventions for braces
|
8 jaren geleden |
Samuel Thibault
|
3376912d1e
Add more locking error cases where we just warn the user that we couldn't lock the performance file
|
8 jaren geleden |
Nathalie Furmento
|
d917eaa107
src: use _STARPU_MSG instead of fprintf and avoid direct calls to fprintf(stderr, ...)
|
8 jaren geleden |
Samuel Thibault
|
f695c7988d
simplify code setting O_DIRECT when mkostemp is not available
|
8 jaren geleden |
Samuel Thibault
|
d1946daa23
Fix fcntl flag
|
8 jaren geleden |
Nathalie Furmento
|
87718074ae
src: fix cppcheck warnings
|
8 jaren geleden |
Chiheb Sakka
|
ed94c16846
fix bug with O_DIRECT flags and mkostemp
|
9 jaren geleden |
Nathalie Furmento
|
ea326f4d15
src: add character in front of macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC
|
9 jaren geleden |
Nathalie Furmento
|
d4761fddf6
src: introduce macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC to make sure we always check the return value of stdlib malloc functions
|
9 jaren geleden |
Samuel Thibault
|
64866677c6
port r19135 from 1.2: Ignore ENOLCK errors (but emit a warning for the user)
|
9 jaren geleden |
Chiheb Sakka
|
6261092f16
fix bug with O_DIRECT flags and mkostemp
|
9 jaren geleden |
Samuel Thibault
|
7dd71b339c
make sure lseek succeeded
|
9 jaren geleden |
Samuel Thibault
|
57b50a2039
fix unlocking files in non-cygwin windows, thanks Jerome Robert for the investigation
|
9 jaren geleden |
Samuel Thibault
|
10de788ee7
Use LOCALAPPPATH instead of USERPROFILE on Windows
|
9 jaren geleden |
Samuel Thibault
|
444635d429
Add starpu_sleep
|
9 jaren geleden |
Samuel Thibault
|
7b717c2a57
Use TMPDIR environment variable instead of hardcoding /tmp
|
9 jaren geleden |
Samuel Thibault
|
9095dde87f
fix confusion between _starpu_ftruncate and ftruncate by introducing _starpu_fftruncate which takes a FILE*
|
9 jaren geleden |
Samuel Thibault
|
bdfcc6404e
factorize ftruncate portability to windows
|
9 jaren geleden |
Samuel Thibault
|
c6886da1ba
Fix race between creation and destruction of temporary directories
|
9 jaren geleden |
Samuel Thibault
|
63148dc70a
create a hierarchy of directories to store allocated files, to avoid issues with systems where the number of files in the same directory is limited. A depth of 2 gets a billion of files with a thousand per directory, that should be enough
|
9 jaren geleden |
Samuel Thibault
|
7a72a87830
factorize code
|
9 jaren geleden |
Samuel Thibault
|
5d15ae25bc
Test starpu_f*lock return codes internally, as we don't bother doing it when calling them
|
9 jaren geleden |
Samuel Thibault
|
3e8e145f0d
Fix warning
|
10 jaren geleden |
Samuel Thibault
|
25b9f46122
port r15790 from 1.1: Initialize _starpu_silent early enough for initial _STARPU_DISP to be affected. Also ignore races on writing to it to avoid spurious warnings in multithreaded init
|
10 jaren geleden |
Samuel Thibault
|
204c00b4bf
Integrate changes for starpu-simgrid-mpi: make TSD use process data instead of host data, since we may have several process on the same host, and pass process argument through argument instead of process data, and duplicate it.
|
10 jaren geleden |
Samuel Thibault
|
1b2f436a98
catch unsafe use of non-reentrant getenv
|
10 jaren geleden |