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
|
9 years ago |
Samuel Thibault
|
9095dde87f
fix confusion between _starpu_ftruncate and ftruncate by introducing _starpu_fftruncate which takes a FILE*
|
9 years ago |
Samuel Thibault
|
bdfcc6404e
factorize ftruncate portability to windows
|
9 years ago |
Samuel Thibault
|
c6886da1ba
Fix race between creation and destruction of temporary directories
|
9 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
|
9 years ago |
Samuel Thibault
|
7a72a87830
factorize code
|
9 years ago |
Samuel Thibault
|
5d15ae25bc
Test starpu_f*lock return codes internally, as we don't bother doing it when calling them
|
9 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
|
10 years ago |
Nathalie Furmento
|
efea5f1a8f
src/ tests/ tools/: fix coding style, curly braces go on a newline
|
10 years ago |
Samuel Thibault
|
4b1a16edde
Fix University name after the fusion..
|
10 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
|
10 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 |
Samuel Thibault
|
e85c81edf6
fix copy/paste
|
11 years ago |
Samuel Thibault
|
7fc0d70afb
Add dirname on msvc, thanks Jerome Robert
|
11 years ago |
Samuel Thibault
|
1359bf77f3
use _WIN32 instead of just MINGW32
|
11 years ago |
Samuel Thibault
|
62e0ff89af
Fix missing include for windows port of locking
|
11 years ago |
Samuel Thibault
|
1ec6838c01
Implement perfmodel locking on windows
|
11 years ago |
Samuel Thibault
|
14b8f531a6
Lock performance model files while writing and reading them to avoid issues on parallel launches, MPI runs notably.
|
11 years ago |
Nathalie Furmento
|
f0bf639f34
src: remove un-needed include directives
|
11 years ago |
Samuel Thibault
|
324dda1072
Fix _starpu_sleep for simgrid
|
11 years ago |