Commit Graph

2146 Commits

Author SHA1 Message Date
Dennis Luxen
8d3fdf45b9 implements #781 2013-11-06 17:13:09 -05:00
Dennis Luxen
1e7e5ea57c Merge pull request #779 from springmeyer/better-file-not-found-error
Better file not found error
2013-11-05 03:03:23 -08:00
Dane Springmeyer
7c8b91456f match exact error from develop branch ~3 months ago 2013-11-04 17:06:02 -08:00
Dane Springmeyer
dc960f30f5 if a file cannot be found print that preamble instead of just the filename 2013-11-04 16:56:41 -08:00
Dane Springmeyer
ba12e31280 osx build: only set -std=c++11 flag for >= 10.9 2013-11-04 14:37:25 -08:00
Dennis Luxen
027a4081a2 fix loading of ini files 2013-11-01 15:24:13 +01:00
Dennis Luxen
190def17e5 fix coverity issue 1121924, Resource leak 2013-10-31 14:05:06 +01:00
Dennis Luxen
9730526d33 fix coverity issue 1121925, Uncaught exception 2013-10-31 13:21:52 +01:00
Dennis Luxen
c87c843308 fix coverity issue 1121926, Uninitialized pointer field 2013-10-31 13:16:46 +01:00
Dennis Luxen
6453cdf0d6 replace all casserts with Boost.Assert 2013-10-30 18:52:23 +01:00
Dennis Luxen
5f80c33b24 lock update when queries are still running 2013-10-30 17:05:49 +01:00
Dennis Luxen
a33542c9b5 link libosrm against librt on linux/gcc 2013-10-30 16:35:23 +01:00
Dennis Luxen
3a1d98648f link tool against librt on linux/gcc 2013-10-30 16:33:16 +01:00
Dennis Luxen
4ec79d61d0 Merge branch 'shared_memory' into develop 2013-10-30 15:10:07 +01:00
Dennis Luxen
b4f055f80c fix check for shared or internal memory 2013-10-30 14:17:32 +01:00
Dennis Luxen
6bf35c679f add timestamp to management data structure 2013-10-30 14:15:55 +01:00
Dennis Luxen
3349d43c00 output build ID to tools 2013-10-30 13:04:22 +01:00
Dennis Luxen
ced961d24c delete renamed file 2013-10-30 13:03:38 +01:00
Dennis Luxen
419f708d87 build unlock tool and link against git descriptor 2013-10-30 13:01:49 +01:00
Dennis Luxen
bbc1c04042 rename tool 2013-10-30 11:52:40 +01:00
Dennis Luxen
7a6865637d release all locks 2013-10-30 11:51:20 +01:00
Dennis Luxen
ae96420925 output file paths only if internal memory is used 2013-10-30 11:47:48 +01:00
Dennis Luxen
2822812d0d dont require local file parameter for shared memory input 2013-10-30 11:45:06 +01:00
Dennis Luxen
c8ab430491 less verbose output 2013-10-30 11:42:05 +01:00
Dennis Luxen
bb87f28e80 remove debug output 2013-10-30 11:41:06 +01:00
Dennis Luxen
6db671215a warn if shared memory segment could not be allocated properly 2013-10-29 18:52:13 +01:00
Dennis Luxen
64566ec6cf fix pesky resource leak that took me two f*#+ing days to figure out. No thanks to you, valgrind 2013-10-29 18:45:01 +01:00
Dennis Luxen
faaf97ef62 return if removal of shmem segment was successful 2013-10-29 18:43:11 +01:00
Dennis Luxen
67d6efed21 make release build less verbose 2013-10-28 15:17:03 +01:00
Dennis Luxen
571d9bd610 print info on shared data only on reload 2013-10-28 15:11:53 +01:00
Dennis Luxen
4144698540 make data store less verbose in release mode 2013-10-28 14:56:25 +01:00
Dennis Luxen
9bf6bf2c78 link against on linux/gcc 2013-10-28 14:51:20 +01:00
Dennis Luxen
cc9236b8db move lock outside of try/catch 2013-10-28 14:39:55 +01:00
Dennis Luxen
0103b59e61 close previously allocated filestream 2013-10-28 14:21:31 +01:00
Dennis Luxen
e9f6531db7 remove comma at end of enum 2013-10-28 10:54:15 +01:00
Dennis Luxen
62c2c750ea load correct segment, remove some debug output 2013-10-25 22:26:27 +02:00
Dennis Luxen
3e5e3175e0 check for new data with every query 2013-10-25 19:32:06 +02:00
Dennis Luxen
54c5af30d9 refetch data if changed 2013-10-25 19:31:39 +02:00
Dennis Luxen
ca4a3361c0 load data into other data store 2013-10-25 19:31:21 +02:00
Dennis Luxen
47d302221d add ram index file name to layout, rename data types 2013-10-25 17:45:03 +02:00
Dennis Luxen
ed215657e6 remove deprecatedd swap method 2013-10-25 17:43:01 +02:00
Dennis Luxen
3e63b14192 add ability to _not_ destroy prev allocated memory 2013-10-25 14:00:34 +02:00
Dennis Luxen
86433ab3a8 fix indentation 2013-10-25 11:19:02 +02:00
Dennis Luxen
7214800d93 add marker where current shared data resides 2013-10-25 11:16:18 +02:00
Dennis Luxen
29f298fa4a load into seperate area, mark swap as todo 2013-10-23 20:06:00 +02:00
Dennis Luxen
ef35bc77cb add simple lock barrier tool to block the flow of queries 2013-10-23 13:31:05 +02:00
Dennis Luxen
6ae880f61e finished locking implementation in queries. YAY\! 2013-10-23 13:22:59 +02:00
Dennis Luxen
0d1149310c implement shared lock in query 2013-10-22 19:06:47 +02:00
Dennis Luxen
51d32bb8d3 set todo marker 2013-10-22 19:06:23 +02:00
Dennis Luxen
49a8980dea use named mtx's and condition for interprocess communication 2013-10-22 13:26:39 +02:00