Nathalie Furmento
|
89ec58cb54
minor fixes
|
8 éve |
Nathalie Furmento
|
6aa36701ae
src/common/utils.c: do not abort when failing to create tmp directory, return NULL instead
|
8 éve |
Nathalie Furmento
|
42f76c4ffb
src: implement _starpu_mkdtemp (either by using mkdtemp or when not available by using our own algorithm) and test it
|
8 éve |
Nathalie Furmento
|
9c38741e02
fix code to follow coding conventions for braces
|
8 éve |
Samuel Thibault
|
3376912d1e
Add more locking error cases where we just warn the user that we couldn't lock the performance file
|
8 éve |
Nathalie Furmento
|
d917eaa107
src: use _STARPU_MSG instead of fprintf and avoid direct calls to fprintf(stderr, ...)
|
8 éve |
Samuel Thibault
|
f695c7988d
simplify code setting O_DIRECT when mkostemp is not available
|
8 éve |
Samuel Thibault
|
d1946daa23
Fix fcntl flag
|
8 éve |
Nathalie Furmento
|
87718074ae
src: fix cppcheck warnings
|
8 éve |
Chiheb Sakka
|
ed94c16846
fix bug with O_DIRECT flags and mkostemp
|
8 éve |
Nathalie Furmento
|
ea326f4d15
src: add character in front of macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC
|
8 éve |
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
|
8 éve |
Samuel Thibault
|
64866677c6
port r19135 from 1.2: Ignore ENOLCK errors (but emit a warning for the user)
|
8 éve |
Chiheb Sakka
|
6261092f16
fix bug with O_DIRECT flags and mkostemp
|
8 éve |
Samuel Thibault
|
7dd71b339c
make sure lseek succeeded
|
9 éve |
Samuel Thibault
|
57b50a2039
fix unlocking files in non-cygwin windows, thanks Jerome Robert for the investigation
|
9 éve |
Samuel Thibault
|
10de788ee7
Use LOCALAPPPATH instead of USERPROFILE on Windows
|
9 éve |
Samuel Thibault
|
444635d429
Add starpu_sleep
|
9 éve |
Samuel Thibault
|
7b717c2a57
Use TMPDIR environment variable instead of hardcoding /tmp
|
9 éve |
Samuel Thibault
|
9095dde87f
fix confusion between _starpu_ftruncate and ftruncate by introducing _starpu_fftruncate which takes a FILE*
|
9 éve |
Samuel Thibault
|
bdfcc6404e
factorize ftruncate portability to windows
|
9 éve |
Samuel Thibault
|
c6886da1ba
Fix race between creation and destruction of temporary directories
|
9 éve |
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 éve |
Samuel Thibault
|
7a72a87830
factorize code
|
9 éve |
Samuel Thibault
|
5d15ae25bc
Test starpu_f*lock return codes internally, as we don't bother doing it when calling them
|
9 éve |
Samuel Thibault
|
3e8e145f0d
Fix warning
|
9 éve |
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 éve |
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 éve |
Samuel Thibault
|
1b2f436a98
catch unsafe use of non-reentrant getenv
|
10 éve |
Samuel Thibault
|
bf8e9c78cb
Cache values gotten from environment variables, to fix concurrency with putenv() calls, and also reduce cost
|
10 éve |