Samuel Thibault
|
f695c7988d
simplify code setting O_DIRECT when mkostemp is not available
|
9 years ago |
Samuel Thibault
|
d1946daa23
Fix fcntl flag
|
9 years ago |
Nathalie Furmento
|
87718074ae
src: fix cppcheck warnings
|
9 years ago |
Chiheb Sakka
|
ed94c16846
fix bug with O_DIRECT flags and mkostemp
|
9 years ago |
Nathalie Furmento
|
ea326f4d15
src: add character in front of macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC
|
9 years ago |
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 years ago |
Samuel Thibault
|
64866677c6
port r19135 from 1.2: Ignore ENOLCK errors (but emit a warning for the user)
|
9 years ago |
Chiheb Sakka
|
6261092f16
fix bug with O_DIRECT flags and mkostemp
|
9 years ago |
Samuel Thibault
|
7dd71b339c
make sure lseek succeeded
|
9 years ago |
Samuel Thibault
|
57b50a2039
fix unlocking files in non-cygwin windows, thanks Jerome Robert for the investigation
|
9 years ago |
Samuel Thibault
|
10de788ee7
Use LOCALAPPPATH instead of USERPROFILE on Windows
|
9 years ago |
Samuel Thibault
|
444635d429
Add starpu_sleep
|
9 years ago |
Samuel Thibault
|
7b717c2a57
Use TMPDIR environment variable instead of hardcoding /tmp
|
10 years ago |
Samuel Thibault
|
9095dde87f
fix confusion between _starpu_ftruncate and ftruncate by introducing _starpu_fftruncate which takes a FILE*
|
10 years ago |
Samuel Thibault
|
bdfcc6404e
factorize ftruncate portability to windows
|
10 years ago |
Samuel Thibault
|
c6886da1ba
Fix race between creation and destruction of temporary directories
|
10 years ago |
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
|
10 years ago |
Samuel Thibault
|
7a72a87830
factorize code
|
10 years ago |
Samuel Thibault
|
5d15ae25bc
Test starpu_f*lock return codes internally, as we don't bother doing it when calling them
|
10 years ago |
Samuel Thibault
|
3e8e145f0d
Fix warning
|
10 years ago |
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 years ago |
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 years ago |
Samuel Thibault
|
1b2f436a98
catch unsafe use of non-reentrant getenv
|
10 years ago |
Samuel Thibault
|
bf8e9c78cb
Cache values gotten from environment variables, to fix concurrency with putenv() calls, and also reduce cost
|
10 years ago |
Nathalie Furmento
|
bb61f3808d
update cnrs copyright
|
11 years ago |
Nathalie Furmento
|
efea5f1a8f
src/ tests/ tools/: fix coding style, curly braces go on a newline
|
11 years ago |
Samuel Thibault
|
4b1a16edde
Fix University name after the fusion..
|
11 years ago |
Samuel Thibault
|
4fe19782d9
in mkpath, test for directory presence before trying to make it, e.g. in case the location is read-only
|
11 years ago |
Samuel Thibault
|
a92760f1c6
Make sure we don't unconditionnally include unistd.h, which is not available on windows
|
11 years ago |
Samuel Thibault
|
5932d9cd38
More windows fixes
|
11 years ago |