snapraid/cmdline
Andrea Mazzoleni 2e12b10590 Signal condition variables outside the lock
This reduces the number of context switches, because the
signaled thread can start immediately.

Some interesting discussion is at:

Condvars: signal with mutex locked or not?
http://www.domaigne.com/blog/computing/condvars-signal-with-mutex-locked-or-not/

Calling pthread_cond_signal without locking mutex
4544494 (4544494)
2016-01-09 10:25:56 +01:00
..
check.c In the check log write status:correct only in verbose mode 2016-01-09 10:25:56 +01:00
device.c Avoid a float division by zero in testing 2016-01-09 10:05:57 +01:00
dry.c Add support for multithread data and parity reading in dry 2016-01-09 10:25:56 +01:00
dup.c Rename some shadow variables 2015-10-08 22:33:41 +02:00
elem.c Add mutex protection at the filesystem structure 2016-01-09 10:18:14 +01:00
elem.h Add mutex protection at the filesystem structure 2016-01-09 10:18:14 +01:00
fnmatch.c Add some more warning checks, and fix the ones reported 2015-08-05 09:42:11 +02:00
fnmatch.h Different source organization. 2014-03-23 17:50:27 +01:00
handle.c Now pread and pwrite use is required for multithread 2016-01-09 10:25:56 +01:00
handle.h Adjust verbs in comments 2015-10-07 22:07:20 +02:00
import.c Use pread also in import and search 2016-01-09 10:25:56 +01:00
import.h Adjust verbs in comments 2015-10-07 22:07:20 +02:00
io.c Signal condition variables outside the lock 2016-01-09 10:25:56 +01:00
io.h Minor beatification at the IO module 2016-01-09 10:25:56 +01:00
list.c Rename some shadow variables 2015-10-08 22:33:41 +02:00
mingw.c Use a thread-safe pread/pwrite implementation for Windows 2016-01-09 10:25:56 +01:00
mingw.h Now pread and pwrite use is required for multithread 2016-01-09 10:25:56 +01:00
mkstream.c Add testing for the new sdeplete() function 2015-10-28 19:45:12 +01:00
mktest.c Refactor locks use in support 2016-01-09 10:25:56 +01:00
murmur3.c Add explicit conversion to unsigned from byte 2016-01-09 10:01:33 +01:00
murmur3test.c Beautifies the code. 2014-09-27 00:32:39 +02:00
nano.c Fix various typos in comments 2016-01-02 16:52:20 +01:00
parity.c Now pread and pwrite use is required for multithread 2016-01-09 10:25:56 +01:00
parity.h Add level knownledge to parity handle 2016-01-09 10:18:14 +01:00
pool.c Rename some shadow variables 2015-10-08 22:33:41 +02:00
portable.h Fix various typos in comments 2016-01-02 16:52:20 +01:00
rehash.c Add backtrace support for internal errors 2015-12-04 22:02:31 +01:00
scan.c Be more verbose in log and messages about UUID 2016-01-05 23:35:55 +01:00
scrub.c Reduce memory occupation for MT 2016-01-09 10:25:56 +01:00
search.c Use pread also in import and search 2016-01-09 10:25:56 +01:00
search.h Adjust verbs in comments 2015-10-07 22:07:20 +02:00
selftest.c Some more coverage commenting 2016-01-06 00:26:24 +01:00
snapraid.c Refactor locks use in support 2016-01-09 10:25:56 +01:00
snapraid.h Different source organization. 2014-03-23 17:50:27 +01:00
speed.c Ensure a side effect in CRC computation 2015-11-11 08:02:54 +01:00
spooky2.c Rename some shadow variables 2015-10-08 22:33:41 +02:00
spooky2test.c Beautifies the code. 2014-09-27 00:32:39 +02:00
state.c Always print the CPU value, even if 0% 2016-01-09 10:25:56 +01:00
state.h Add a new test option to force parity update 2016-01-04 10:43:43 +01:00
status.c Fix the latest column of the status graph 2015-11-13 21:47:13 +01:00
stream.c Use different thread when writing content file 2015-10-29 23:37:58 +01:00
stream.h Fix various typos in comments 2016-01-02 16:52:20 +01:00
support.c Refactor locks use in support 2016-01-09 10:25:56 +01:00
support.h Refactor locks use in support 2016-01-09 10:25:56 +01:00
sync.c Reduce memory occupation for MT 2016-01-09 10:25:56 +01:00
unix.c Be more verbose in log and messages about UUID 2016-01-05 23:35:55 +01:00
unix.h Fix various typos in comments 2016-01-02 16:52:20 +01:00
util.c Use a faster memory test 2016-01-09 10:25:56 +01:00
util.h Better optimized CRC call when writing the content file 2015-10-08 22:09:12 +02:00