summaryrefslogtreecommitdiffstats
path: root/src/server/locks.c
Commit message (Collapse)AuthorAgeFilesLines
* [*] Mark logadd() as printf-style function, fix errors that it revealedSimon Rettberg2017-10-311-2/+2
| | | | ...there were quite a few format string errors as it turns out :/
* [SERVER] Use monotonic clock for measuring timeSimon Rettberg2017-10-191-14/+20
| | | | | Introduces new shared source unit timing.[ch] Closes #3214
* [SERVER] Bump debug lock tracking limitsSimon Rettberg2016-07-131-2/+2
|
* [SERVER] Fix formattingSimon Rettberg2016-03-221-2/+2
|
* cleanup commitsSebastian2016-02-111-11/+1Star
|
* [SHARED] signal.h -> fdsignal.hSimon Rettberg2016-02-101-1/+1
|
* First steps in make signals more abstract from the underlying mechanism; ↵Simon Rettberg2016-02-051-2/+2
| | | | | | | | | | replace epoll with poll. We now don't assume that a signal equals a single fd (eventfd on Linux). The next step would be to create a version of signal.c that uses a pipe internally, so it can be used on other platforms, like *BSD. This is also the reason epoll was replaced with poll in uplink.c
* [SERVER] Update includes for moved log.hSimon Rettberg2015-12-021-1/+1
|
* [FUSE] Start refactoring so we can handle multithread fuseSimon Rettberg2015-11-211-1/+1
|
* [SERVER] Overhauled loggingSimon Rettberg2015-02-221-12/+12
| | | | | | - Added message type parameter - Log to file and stdout, no more logging in memory - Added options to server.conf to filter which messages show up where
* Get rid of unneccessary volatileSimon Rettberg2015-02-221-3/+3
| | | | Some minor debugging code, mostly commented out
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-141-1/+1
| | | | | | | compare and some unused params) Also allow newline at end of alt-servers file without complaining about it not being a valid alt server definition.
* [SERVER] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵Simon Rettberg2015-01-061-0/+1
| | | | handling signals even though we block them
* [SERVER] Use a thread pool for client connectionsSimon Rettberg2015-01-051-1/+1
|
* [SERVER] Dead code removal, minor performance tweaks, refactoring, etc.Simon Rettberg2015-01-021-9/+9
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-1/+1
| | | | function names
* [SERVER] Minor tweaks and improvementsSimon Rettberg2014-12-311-1/+5
|
* Improve uplink handling, add code to debug thread creation/destruction, ↵Simon Rettberg2014-06-161-2/+4
| | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...
* [SERVER] Refactoring, more debug output, try to check for cyclic proxyingSimon Rettberg2013-10-221-1/+3
|
* [SERVER] Fix race condition in uplink request aggregation, other small ↵Simon Rettberg2013-08-131-0/+2
| | | | improvements and debugging features
* [SERVER] several improvementsSimon Rettberg2013-08-021-5/+54
| | | | | | 1) Close uplink if local copy is complete 2) Fix memleak when closing uplink (recv buffer was not cleared) 3) Add configurable artificial delays for client and server connections
* [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵Simon Rettberg2013-07-311-1/+1
| | | | yet, so prepare for lots of fixes ;))
* Implement CRC-32 list generation; fix quick CRC-32 check on image loadingsr2013-07-231-0/+1
|
* kernel module changessr2013-07-181-15/+28
|
* Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵sr2013-07-171-3/+19
| | | | | | tracked and debugged Fix compilation of kernel module
* Add debug-lock functions that will helpt to spot deadlocks etc. while developingsr2013-07-161-0/+220